summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-05-07 01:09:57 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-05-07 01:09:57 +0000
commit49da06965dd52b744ce02388080f56aff682b384 (patch)
treec78e4266f73bad3d5724e5d4d5b7b8150b43a73b /sys
parentb38e7f86de9473818d5d0fb800791c3ef591a9d6 (diff)
add missing braces to code under #ifdef TRM_DEBUG0
ok krw@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/trm.c6
1 files 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))