mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 19:49:45 +03:00
Fix a minor logical error in posix_io.c
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user