summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/asc.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-28 01:59:53 +0000
committerdillon <dillon@FreeBSD.org>1999-01-28 01:59:53 +0000
commit9328688fc8b9743439e9dbe6f6364cb0317e387f (patch)
tree4f99904371de94ee7846eb8f747ab1e5a1fa463b /sys/i386/isa/asc.c
parentc970e06ccf646c8d420b2216f605eefeef3cdc0d (diff)
downloadFreeBSD-src-9328688fc8b9743439e9dbe6f6364cb0317e387f.zip
FreeBSD-src-9328688fc8b9743439e9dbe6f6364cb0317e387f.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/i386/isa/asc.c')
-rw-r--r--sys/i386/isa/asc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c
index 595a33c..754d79e 100644
--- a/sys/i386/isa/asc.c
+++ b/sys/i386/isa/asc.c
@@ -34,7 +34,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
- * $Id: asc.c,v 1.32 1998/10/22 05:58:38 bde Exp $
+ * $Id: asc.c,v 1.33 1999/01/27 10:10:00 bde Exp $
*/
#include "asc.h"
@@ -509,7 +509,7 @@ ascintr(int unit)
scu->icnt++;
/* ignore stray interrupts... */
- if ( scu->flags & (OPEN |READING) != (OPEN | READING) ) {
+ if ((scu->flags & (OPEN |READING)) != (OPEN | READING) ) {
/* must be after closing... */
scu->flags &= ~(OPEN | READING | DMA_ACTIVE | SLEEPING | SEL_COLL);
return;
OpenPOWER on IntegriCloud