summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ev_epoll.c b/ev_epoll.c
index ee7ceea..8bc8658 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -102,11 +102,9 @@ epoll_destroy (EV_P)
static void
epoll_fork (EV_P)
{
- int fd;
-
epoll_fd = epoll_create (256);
fcntl (epoll_fd, F_SETFD, FD_CLOEXEC);
- fd_rearm_all ();
+ fd_rearm_all (EV_A);
}