summaryrefslogtreecommitdiffstats
path: root/src/core/posix_io.c
diff options
context:
space:
mode:
authorMichael Brown2007-06-09 19:20:08 +0200
committerMichael Brown2007-06-09 19:20:08 +0200
commit2c569fb240513b229384bf425f4708888b7880cf (patch)
treec5ad810525a1f89b79b3615183f2768cd52d1b11 /src/core/posix_io.c
parentAdd our own trivial version of stdarg.h. This makes our build (diff)
downloadipxe-2c569fb240513b229384bf425f4708888b7880cf.tar.gz
ipxe-2c569fb240513b229384bf425f4708888b7880cf.tar.xz
ipxe-2c569fb240513b229384bf425f4708888b7880cf.zip
Allow xfer_open() to take a struct uri as well as a URI string.
Diffstat (limited to 'src/core/posix_io.c')
-rw-r--r--src/core/posix_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/posix_io.c b/src/core/posix_io.c
index 3b5660e4..31db8665 100644
--- a/src/core/posix_io.c
+++ b/src/core/posix_io.c
@@ -224,7 +224,7 @@ int open ( const char *uri_string ) {
INIT_LIST_HEAD ( &file->data );
/* Open URI on data transfer interface */
- if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
+ if ( ( rc = xfer_open_uri_string ( &file->xfer, uri_string ) ) != 0 )
goto err;
/* Wait for open to succeed or fail */