From e3ef558bb7b713724f9a7aa7781c29cacaec53a0 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Sun, 8 Sep 2002 07:52:34 +0000 Subject: typo. from marius@umich.edu via provos --- lib/libevent/kqueue.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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 @@ -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) -- cgit v1.2.3