From 940bb959905b8841d584adb0143d83ac2ad8cd7c Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 7 May 2015 01:09:56 +0000 Subject: [PATCH] add missing braces to code under #ifdef TRM_DEBUG0 ok krw@ --- sys/dev/ic/trm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c index f8d6f64a3a5..2fd1a122d9a 100644 --- a/sys/dev/ic/trm.c +++ b/sys/dev/ic/trm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trm.c,v 1.32 2014/07/12 18:48:17 tedu Exp $ +/* $OpenBSD: trm.c,v 1.33 2015/05/07 01:09:56 jsg Exp $ * ------------------------------------------------------------ * O.S : OpenBSD * File Name : trm.c @@ -2079,10 +2079,12 @@ trm_FinishSRB(struct trm_softc *sc, struct trm_scsi_req_q *pSRB) * Notify cmd done */ #ifdef TRM_DEBUG0 - if ((xs->error != 0) || (xs->status != 0) || ((xs->flags & SCSI_POLL) != 0)) + if ((xs->error != 0) || (xs->status != 0) || + ((xs->flags & SCSI_POLL) != 0)) { sc_print_addr(xs->sc_link); printf("trm_FinishSRB. xs->cmd->opcode = 0x%02x, xs->error = %d, xs->status = %d\n", xs->cmd->opcode, xs->error, xs->status); + } #endif if (ISSET(xs->flags, SCSI_POLL)) -- 2.20.1