diff options
author | root <root> | 2007-12-09 02:12:43 +0000 |
---|---|---|
committer | root <root> | 2007-12-09 02:12:43 +0000 |
commit | c92198a5c36ea9d1b1e0fae8254eb5609553bbf9 (patch) | |
tree | 5cd47d8ed445134572e63340e88d4a92f4b8d99f /ev_kqueue.c | |
parent | fe7222913a6e42b65bfd92bc38479714316cfaf3 (diff) |
µ-opts
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"); |