From 2eaa80698f6d027c66f2eed0516cae1c4eef97f0 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Fri, 27 Sep 2002 23:00:35 +0000 Subject: [PATCH] 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. --- sys/dev/aic7xxx/aic7xxx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c index a3b7d02b5c7d..bb67c5c1bf67 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 @@ ahc_handle_message_phase(struct ahc_softc *ahc) 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) {