diff options
-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); |