summaryrefslogtreecommitdiff
path: root/ev_kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r--ev_kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c
index ab6000e..0d809f5 100644
--- a/ev_kqueue.c
+++ b/ev_kqueue.c
@@ -97,7 +97,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout)
}
EV_RELEASE_CB;
- EV_SET_TV (tv, timeout);
+ EV_TS_SET (ts, timeout);
res = kevent (backend_fd, kqueue_changes, kqueue_changecnt, kqueue_events, kqueue_eventmax, &ts);
EV_ACQUIRE_CB;
kqueue_changecnt = 0;