aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/core/posix_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/core/posix_io.c')
-rw-r--r--gpxe/src/core/posix_io.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpxe/src/core/posix_io.c b/gpxe/src/core/posix_io.c
index e0459bdf..e6b1a0f6 100644
--- a/gpxe/src/core/posix_io.c
+++ b/gpxe/src/core/posix_io.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdlib.h>
#include <string.h>
#include <errno.h>
@@ -137,7 +139,7 @@ posix_file_xfer_deliver_iob ( struct xfer_interface *xfer,
/** POSIX file data transfer interface operations */
static struct xfer_interface_operations posix_file_xfer_operations = {
.close = posix_file_xfer_close,
- .vredirect = xfer_vopen,
+ .vredirect = xfer_vreopen,
.window = unlimited_xfer_window,
.alloc_iob = default_xfer_alloc_iob,
.deliver_iob = posix_file_xfer_deliver_iob,