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>
This commit is contained in:
Justin T. Gibbs 2002-09-27 23:00:35 +00:00
parent 967970bab6
commit 2eaa80698f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104071

View File

@ -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) {