From 51724fdc92c592145a864e0c36ca03c3387bd417 Mon Sep 17 00:00:00 2001 From: archie Date: Fri, 4 Dec 1998 21:33:06 +0000 Subject: [PATCH] Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == .. PR: 8280 (2/3 patches contained in this PR) Submitted by: Sakari Jalovaara --- sys/i386/isa/matcd/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/isa/matcd/audio.c b/sys/i386/isa/matcd/audio.c index a7891cb12362..b395fb410645 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);