diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-11-05 17:07:08 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-11-05 17:07:08 +0000 |
commit | efcf6d626c4dde05d1341b77d0217c393c8e9c30 (patch) | |
tree | 95aa7c0dd4c9c0e6d4a83c374876668cb572ee8f | |
parent | 729c7bbd32e333347f858c9992ea85ef64089484 (diff) |
typo in kqueue delete.
From Niels Provos via the libevent SVN repo, by Bert JW. Regeer
ok deraadt@
-rw-r--r-- | lib/libevent/kqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c index 500d7c4dd68..d05144de0d4 100644 --- a/lib/libevent/kqueue.c +++ b/lib/libevent/kqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kqueue.c,v 1.20 2006/03/30 06:32:36 brad Exp $ */ +/* $OpenBSD: kqueue.c,v 1.21 2006/11/05 17:07:07 brad Exp $ */ /* * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> @@ -356,7 +356,7 @@ kq_del(void *arg, struct event *ev) int nsignal = EVENT_SIGNAL(ev); memset(&kev, 0, sizeof(kev)); - kev.ident = (int)signal; + kev.ident = nsignal; kev.filter = EVFILT_SIGNAL; kev.flags = EV_DELETE; |