diff --git a/fs/vfs/fs_epoll.c b/fs/vfs/fs_epoll.c index f68b227209e..8339f160858 100644 --- a/fs/vfs/fs_epoll.c +++ b/fs/vfs/fs_epoll.c @@ -365,7 +365,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev) return -1; } - poll_notify(&eph->poll, 1, eph->poll[0].events); + poll_notify(&eph->poll, 1, POLLIN); return 0; }