diff options
author | Michael Brown | 2007-12-07 01:52:48 +0100 |
---|---|---|
committer | Michael Brown | 2007-12-07 01:52:48 +0100 |
commit | 698b5bc887109c90ab4e6ff5bb65189f639d972b (patch) | |
tree | 139ede1e2a8c5b95d16af8a3c85780ea78c2f3c6 /src/core/posix_io.c | |
parent | Various warnings fixups for OpenBSD with gcc-3.3.5. (diff) | |
download | ipxe-698b5bc887109c90ab4e6ff5bb65189f639d972b.tar.gz ipxe-698b5bc887109c90ab4e6ff5bb65189f639d972b.tar.xz ipxe-698b5bc887109c90ab4e6ff5bb65189f639d972b.zip |
Fix a minor logical error in posix_io.c
Diffstat (limited to 'src/core/posix_io.c')
-rw-r--r-- | src/core/posix_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/posix_io.c b/src/core/posix_io.c index 530ce651..27c72100 100644 --- a/src/core/posix_io.c +++ b/src/core/posix_io.c @@ -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 ); |