diff options
-rw-r--r-- | winsup/cygwin/select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 7b3fc32..5058272 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -778,7 +778,7 @@ int fhandler_tty_slave::ready_for_read (int fd, DWORD howlong) { HANDLE w4[2]; - if (!cygheap->fdtab.not_open (fd)) + if (cygheap->fdtab.not_open (fd)) { set_errno (EBADF); return 1; |