Formatting fix
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Tue, 26 Aug 2008 03:52:50 +0000 (03:52 +0000)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Tue, 26 Aug 2008 03:52:50 +0000 (03:52 +0000)
sysdeps/unix/sysv/solaris2/kopensolaris-gnu/pselect.c

index 329d8ce..caa2f32 100644 (file)
@@ -51,7 +51,8 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
             || FD_ISSET (fd, _exceptfds))
         {
           pfd[i].fd = fd;
-          pfd[i].events = pfd[i].revents = 0;
+          pfd[i].events = 0;
+          pfd[i].revents = 0;
           if (FD_ISSET (fd, _readfds))
                 pfd[i].events |= POLLRDNORM;
           if(FD_ISSET (fd, _writefds))