diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-08 07:52:34 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-08 07:52:34 +0000 |
commit | e3ef558bb7b713724f9a7aa7781c29cacaec53a0 (patch) | |
tree | 41654c06477a9cacf953e8a913a6df2a1560aa51 /lib | |
parent | c6bde09c1a8dbd9a971e4a39b643c48adfc52d20 (diff) |
typo. from marius@umich.edu via provos
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libevent/kqueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c index fa106d4dd1f..6889490036e 100644 --- a/lib/libevent/kqueue.c +++ b/lib/libevent/kqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kqueue.c,v 1.5 2002/07/10 14:41:31 art Exp $ */ +/* $OpenBSD: kqueue.c,v 1.6 2002/09/08 07:52:33 itojun Exp $ */ /* * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> @@ -278,7 +278,7 @@ kq_add(void *arg, struct event *ev) kev.filter = EVFILT_SIGNAL; kev.flags = EV_ADD; if (!(ev->ev_events & EV_PERSIST)) - kev.filter |= EV_ONESHOT; + kev.flags |= EV_ONESHOT; kev.udata = ev; if (kq_insert(kqop, &kev) == -1) @@ -297,7 +297,7 @@ kq_add(void *arg, struct event *ev) kev.filter = EVFILT_READ; kev.flags = EV_ADD; if (!(ev->ev_events & EV_PERSIST)) - kev.filter |= EV_ONESHOT; + kev.flags |= EV_ONESHOT; kev.udata = ev; if (kq_insert(kqop, &kev) == -1) @@ -312,7 +312,7 @@ kq_add(void *arg, struct event *ev) kev.filter = EVFILT_WRITE; kev.flags = EV_ADD; if (!(ev->ev_events & EV_PERSIST)) - kev.filter |= EV_ONESHOT; + kev.flags |= EV_ONESHOT; kev.udata = ev; if (kq_insert(kqop, &kev) == -1) |