fs/vfs/fs_epoll: fix epoll_wait function

This commit is contained in:
spiriou
2020-08-15 22:05:24 +02:00
committed by Xiang Xiao
parent b90c8914f3
commit 0ddefd7c69
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -95,11 +95,11 @@ struct epoll_event
{
epoll_data_t data;
pollevent_t events; /* The input event flags */
pollevent_t revents; /* The output event flags */
/* Non-standard fields used internally by NuttX. */
void *reserved; /* reserved feild sync with struct pollfd */
pollevent_t revents; /* The output event flags */
void *reserved; /* reserved field sync with struct pollfd */
FAR sem_t *sem; /* Pointer to semaphore used to post output event */
FAR void *priv; /* For use by drivers */
};