david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Fix a minor logical error in posix_io.c

This commit is contained in:
Michael Brown 2007-12-07 00:52:48 +00:00
parent df868476e7
commit 698b5bc887
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ int select ( fd_set *readfds, int wait ) {
if ( ! file )
return -EBADF;
if ( ( list_empty ( &file->data ) ) &&
( file->rc != -EINPROGRESS ) )
( file->rc == -EINPROGRESS ) )
continue;
/* Data is available or status has changed */
FD_ZERO ( readfds );