diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-11 18:50:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-11 18:50:20 +0000 |
commit | 3ff0b5dbaa46fef6d538a01bff628a97ebaeac1b (patch) | |
tree | 0b2b572898f9484226275e7eaf9b306a2d0248fe /sys/dev/isa/aria.c | |
parent | 31a8ce0983528c21838a3566918d20926690957d (diff) |
if (!foo & BAR) bad, if (!(foo & BAR)) better, and I'll have a cookie per
file.
Diffstat (limited to 'sys/dev/isa/aria.c')
-rw-r--r-- | sys/dev/isa/aria.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/aria.c b/sys/dev/isa/aria.c index 6b5bc65dd19..5330eea255f 100644 --- a/sys/dev/isa/aria.c +++ b/sys/dev/isa/aria.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aria.c,v 1.12 2006/03/14 19:26:30 miod Exp $ */ +/* $OpenBSD: aria.c,v 1.13 2006/05/11 18:50:18 miod Exp $ */ /* * Copyright (c) 1995, 1996 Roland C. Dowdeswell. All rights reserved. @@ -1061,12 +1061,12 @@ aria_cont(addr) DPRINTF(("aria_cont\n")); - if (!sc->sc_record&(1<<0) && (sc->sc_open&ARIAR_OPEN_RECORD)) { + if (!(sc->sc_record&(1<<0)) && (sc->sc_open&ARIAR_OPEN_RECORD)) { aria_sendcmd(sc->sc_iobase, ARIADSPC_START_REC, ARIAR_RECORD_CHAN, -1, -1); sc->sc_record |= ~(1<<ARIAR_RECORD_CHAN); } - if (!sc->sc_play&(1<<ARIAR_PLAY_CHAN) && (sc->sc_open&ARIAR_OPEN_PLAY)) { + if (!(sc->sc_play&(1<<ARIAR_PLAY_CHAN)) && (sc->sc_open&ARIAR_OPEN_PLAY)) { aria_sendcmd(sc->sc_iobase, ARIADSPC_START_PLAY, 1, -1, -1); sc->sc_play |= ~(1<<ARIAR_PLAY_CHAN); } |