mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 03:55:46 +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 )
|
if ( ! file )
|
||||||
return -EBADF;
|
return -EBADF;
|
||||||
if ( ( list_empty ( &file->data ) ) &&
|
if ( ( list_empty ( &file->data ) ) &&
|
||||||
( file->rc != -EINPROGRESS ) )
|
( file->rc == -EINPROGRESS ) )
|
||||||
continue;
|
continue;
|
||||||
/* Data is available or status has changed */
|
/* Data is available or status has changed */
|
||||||
FD_ZERO ( readfds );
|
FD_ZERO ( readfds );
|
||||||
|
|||||||
Reference in New Issue
Block a user