summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2002-09-27 23:00:35 +0000
committergibbs <gibbs@FreeBSD.org>2002-09-27 23:00:35 +0000
commitd08d61cf7e649a1706432628cc516edea8878dd9 (patch)
treeacef7ecefc471d5fa907333c59e9452f39c2c7ea /sys/dev/aic7xxx
parent358e076f1a57c96a6e57a45646495cd6e93e7e31 (diff)
downloadFreeBSD-src-d08d61cf7e649a1706432628cc516edea8878dd9.zip
FreeBSD-src-d08d61cf7e649a1706432628cc516edea8878dd9.tar.gz
Add a missing pair of curly braces to a conditional debug
statement. This ensures that debug code doesn't trigger if it isn't enabled. <blush>
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/aic7xxx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c
index a3b7d02..bb67c5c 100644
--- a/sys/dev/aic7xxx/aic7xxx.c
+++ b/sys/dev/aic7xxx/aic7xxx.c
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#79 $
+ * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#80 $
*
* $FreeBSD$
*/
@@ -2475,9 +2475,10 @@ reswitch:
panic("HOST_MSG_LOOP interrupt with no active message");
#ifdef AHC_DEBUG
- if ((ahc_debug & AHC_SHOW_MESSAGES) != 0)
+ if ((ahc_debug & AHC_SHOW_MESSAGES) != 0) {
ahc_print_devinfo(ahc, &devinfo);
printf("INITIATOR_MSG_OUT");
+ }
#endif
phasemis = bus_phase != P_MESGOUT;
if (phasemis) {
OpenPOWER on IntegriCloud