pkarashchenko commented on code in PR #6680:
URL: https://github.com/apache/incubator-nuttx/pull/6680#discussion_r928080747


##########
fs/vfs/fs_poll.c:
##########
@@ -120,6 +120,7 @@ static inline int poll_setup(FAR struct pollfd *fds, nfds_t 
nfds,
       fds[i].sem     = sem;
       fds[i].revents = 0;
       fds[i].priv    = NULL;
+      fds[i].events |= (POLLERR | POLLHUP);

Review Comment:
   ```suggestion
         fds[i].events |= POLLERR | POLLHUP;
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to