diff options
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r-- | ev_kqueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c index f23967f..de566ff 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -59,17 +59,17 @@ kqueue_modify (EV_P_ int fd, int oev, int nev) if ((oev ^ nev) & EV_READ) { if (nev & EV_READ) - kqueue_change (fd, EVFILT_READ, EV_ADD, NOTE_EOF); + kqueue_change (EV_A_ fd, EVFILT_READ, EV_ADD, NOTE_EOF); else - kqueue_change (fd, EVFILT_READ, EV_DELETE, 0); + kqueue_change (EV_A_ fd, EVFILT_READ, EV_DELETE, 0); } if ((oev ^ nev) & EV_WRITE) { if (nev & EV_WRITE) - kqueue_change (fd, EVFILT_WRITE, EV_ADD, NOTE_EOF); + kqueue_change (EV_A_ fd, EVFILT_WRITE, EV_ADD, NOTE_EOF); else - kqueue_change (fd, EVFILT_WRITE, EV_DELETE, 0); + kqueue_change (EV_A_ fd, EVFILT_WRITE, EV_DELETE, 0); } } |