summaryrefslogtreecommitdiffstats
path: root/src/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/poll.c')
-rw-r--r--src/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poll.c b/src/poll.c
index 549d097..d4da8f1 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -81,7 +81,7 @@ static inline int epoll_wait_unblocked(int epfd, struct epoll_event *events, int
void fastd_poll_init(void) {
- ctx.epoll_fd = epoll_create1(0);
+ ctx.epoll_fd = epoll_create(1);
if (ctx.epoll_fd < 0)
exit_errno("epoll_create1");