diff options
| author | Michael Brown | 2007-05-18 17:36:11 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-05-18 17:36:11 +0200 |
| commit | 7d2535779caed7389ae93ea74fab26acc851b637 (patch) | |
| tree | bfaa533a5230b13bf93a1c038191d511c44487bc /src/core | |
| parent | Add debugging (diff) | |
| download | ipxe-7d2535779caed7389ae93ea74fab26acc851b637.tar.gz ipxe-7d2535779caed7389ae93ea74fab26acc851b637.tar.xz ipxe-7d2535779caed7389ae93ea74fab26acc851b637.zip | |
Must request data before anything actually happens...
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/posix_io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/posix_io.c b/src/core/posix_io.c index 2974a4c85..a8876b732 100644 --- a/src/core/posix_io.c +++ b/src/core/posix_io.c @@ -224,6 +224,10 @@ int open ( const char *uri_string ) { if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 ) goto err; + /* Request data */ + if ( ( rc = xfer_request_all ( &file->xfer ) ) != 0 ) + goto err; + /* Wait for open to succeed or fail */ while ( list_empty ( &file->data ) ) { step(); |
