diff options
Diffstat (limited to 'sys/dev/wscons/wseventvar.h')
-rw-r--r-- | sys/dev/wscons/wseventvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wscons/wseventvar.h b/sys/dev/wscons/wseventvar.h index e854f2f5d1f..f507a19d7b1 100644 --- a/sys/dev/wscons/wseventvar.h +++ b/sys/dev/wscons/wseventvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wseventvar.h,v 1.4 2003/06/02 23:28:04 millert Exp $ */ +/* $OpenBSD: wseventvar.h,v 1.5 2009/10/31 14:13:57 deraadt Exp $ */ /* $NetBSD: wseventvar.h,v 1.1 1998/03/22 14:24:03 drochner Exp $ */ /* @@ -94,6 +94,7 @@ struct wseventvar { #define WSEVENT_WAKEUP(ev) { \ selwakeup(&(ev)->sel); \ + KNOTE(&(ev)->sel.si_note, 0); \ if ((ev)->wanted) { \ (ev)->wanted = 0; \ wakeup((caddr_t)(ev)); \ |