summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2008-09-11 11:30:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2008-09-11 11:30:15 +0000
commit3e8431185f98f1aa93b9fd1d45bcd778b472cb02 (patch)
treeeb5567e1d315fc156f8ce79ec654d3955bac27f9 /sys
parentc429c493d21e804ce195658c74fcee00047037c5 (diff)
Use & not && to mask bits.
ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/luna88k/dev/lunaws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/dev/lunaws.c b/sys/arch/luna88k/dev/lunaws.c
index 4b2aa16db7c..f1a73803c20 100644
--- a/sys/arch/luna88k/dev/lunaws.c
+++ b/sys/arch/luna88k/dev/lunaws.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lunaws.c,v 1.6 2008/06/26 05:42:11 ray Exp $ */
+/* $OpenBSD: lunaws.c,v 1.7 2008/09/11 11:30:14 jsg Exp $ */
/* $NetBSD: lunaws.c,v 1.6 2002/03/17 19:40:42 atatat Exp $ */
/*-
@@ -273,7 +273,7 @@ wsintr(chan)
#endif
} while ((rr = getsiocsr(sio)) & RR_RXRDY);
}
- if (rr && RR_TXRDY)
+ if (rr & RR_TXRDY)
sio->sio_cmd = WR0_RSTPEND;
/* not capable of transmit, yet */
}