diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-09-24 06:41:44 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-09-24 06:41:44 +0000 |
commit | d27a0490ffcf2f4a9b5fa8fee0bd500d6e3c13d4 (patch) | |
tree | 16978f7b31877461c9699c712ac2e41110921a27 /sys/arch/hp300 | |
parent | 7160842242d97020e7b45089f7ff0f73a511a7c0 (diff) |
Compile after poll changes...
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/dev/hil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/hil.c b/sys/arch/hp300/dev/hil.c index 2403c8f30d5..8d8c702fe42 100644 --- a/sys/arch/hp300/dev/hil.c +++ b/sys/arch/hp300/dev/hil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hil.c,v 1.19 2003/09/23 16:51:11 millert Exp $ */ +/* $OpenBSD: hil.c,v 1.20 2003/09/24 06:41:43 miod Exp $ */ /* $NetBSD: hil.c,v 1.34 1997/04/02 22:37:32 scottr Exp $ */ /* @@ -748,7 +748,7 @@ hilpoll(dev, events, p) int s, revents, device; revents = events & (POLLOUT | POLLWRNORM); - if (events & (POLLIN | POLLRDNORM) == 0) + if ((events & (POLLIN | POLLRDNORM)) == 0) return (revents); device = HILUNIT(dev); |