summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/matcd
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-04 21:33:06 +0000
committerarchie <archie@FreeBSD.org>1998-12-04 21:33:06 +0000
commit51724fdc92c592145a864e0c36ca03c3387bd417 (patch)
treed69f52ae1ac1ff86c568840773b953ffb0fdfec4 /sys/i386/isa/matcd
parentb6602536a2f73fff5be865dec3af01cfb8fd089b (diff)
downloadFreeBSD-src-51724fdc92c592145a864e0c36ca03c3387bd417.zip
FreeBSD-src-51724fdc92c592145a864e0c36ca03c3387bd417.tar.gz
Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..
PR: 8280 (2/3 patches contained in this PR) Submitted by: Sakari Jalovaara <sja@tekla.fi>
Diffstat (limited to 'sys/i386/isa/matcd')
-rw-r--r--sys/i386/isa/matcd/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/matcd/audio.c b/sys/i386/isa/matcd/audio.c
index a7891cb..b395fb4 100644
--- a/sys/i386/isa/matcd/audio.c
+++ b/sys/i386/isa/matcd/audio.c
@@ -213,7 +213,7 @@ static int matcd_pause(int ldrive, int cdrive, int controller, int action)
} /*<14>*/
unlockbus(controller, ldrive); /*<16>Release bus*/
- if (z & MATCD_ST_AUDIOBSY==0 && /*<14>If drive is idle*/
+ if ((z & MATCD_ST_AUDIOBSY) == 0 && /*<14>If drive is idle*/
cd->status==CD_AS_PLAY_IN_PROGRESS) { /*<14>but was playing*/
cd->status=CD_AS_PLAY_COMPLETED; /*<14>then its done*/
return(0);
OpenPOWER on IntegriCloud