--- libev/ev_kqueue.c 2007/11/04 15:58:50 1.7 +++ libev/ev_kqueue.c 2007/11/04 18:29:44 1.8 @@ -184,6 +184,6 @@ fcntl (kqueue_fd, F_SETFD, FD_CLOEXEC); /* re-register interest in fds */ - fd_rearm_all (); + fd_rearm_all (EV_A); }