--- libev/ev_kqueue.c 2007/12/05 13:54:37 1.28 +++ libev/ev_kqueue.c 2007/12/09 02:12:44 1.29 @@ -92,7 +92,7 @@ res = kevent (backend_fd, kqueue_changes, kqueue_changecnt, kqueue_events, kqueue_eventmax, &ts); kqueue_changecnt = 0; - if (res < 0) + if (expect_false (res < 0)) { if (errno != EINTR) syserr ("(libev) kevent");