diff options
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r-- | ev_kqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c index 4fd649f..3103db1 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -92,7 +92,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout) 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"); |