summaryrefslogtreecommitdiff
path: root/ev_kqueue.c
diff options
context:
space:
mode:
authorroot <root>2007-11-06 17:20:42 +0000
committerroot <root>2007-11-06 17:20:42 +0000
commit0268b6db718e75046444d22af082aedd7c4cae01 (patch)
treed7fe877a1b4381e8823ed7c6e6437f7d1557cb99 /ev_kqueue.c
parent85e9d898522a460b8dcf57f1781f6acc3d2f3ee5 (diff)
*** empty log message ***
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r--ev_kqueue.c8
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);
}
}