diff options
Diffstat (limited to 'sys/dev/wscons/wsevent.c')
-rw-r--r-- | sys/dev/wscons/wsevent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsevent.c b/sys/dev/wscons/wsevent.c index 8518bfc56e1..1b21796da9c 100644 --- a/sys/dev/wscons/wsevent.c +++ b/sys/dev/wscons/wsevent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsevent.c,v 1.20 2019/05/22 18:52:14 anton Exp $ */ +/* $OpenBSD: wsevent.c,v 1.21 2019/08/08 02:19:18 cheloha Exp $ */ /* $NetBSD: wsevent.c,v 1.16 2003/08/07 16:31:29 agc Exp $ */ /* @@ -162,8 +162,8 @@ wsevent_read(struct wseventvar *ev, struct uio *uio, int flags) return (EWOULDBLOCK); } ev->wanted = 1; - error = tsleep(ev, PWSEVENT | PCATCH, - "wsevent_read", 0); + error = tsleep_nsec(ev, PWSEVENT | PCATCH, + "wsevent_read", INFSLP); if (error) { splx(s); return (error); |