diff options
Diffstat (limited to 'winsup/cygwin/poll.cc')
-rw-r--r-- | winsup/cygwin/poll.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/poll.cc b/winsup/cygwin/poll.cc index 017d0e5..76f8c35 100644 --- a/winsup/cygwin/poll.cc +++ b/winsup/cygwin/poll.cc @@ -56,7 +56,7 @@ poll (struct pollfd *fds, unsigned int nfds, int timeout) if (!cygheap->fdtab.not_open (fds[i].fd)) { valid_fds = true; - fds[i].revents = 0; + fds[i].revents = 0; FD_SET (fds[i].fd, open_fds); if (fds[i].events & POLLIN) FD_SET (fds[i].fd, read_fds); |