aboutsummaryrefslogtreecommitdiff
path: root/bin/chio
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-04-25 21:13:34 +0000
committerWarner Losh <imp@FreeBSD.org>1999-04-25 21:13:34 +0000
commit426e9c1dcc6b3d9d4a5ad436aecaa1c2f9d29e17 (patch)
treec77cfa8ea1a0c7d542f16074d77f4bf229b98639 /bin/chio
parent51bb7ba6641b0601252c2c5a21eb47728a1c9566 (diff)
downloadsrc-426e9c1dcc6b3d9d4a5ad436aecaa1c2f9d29e17.tar.gz
src-426e9c1dcc6b3d9d4a5ad436aecaa1c2f9d29e17.zip
Notes
Diffstat (limited to 'bin/chio')
-rw-r--r--bin/chio/chio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c
index bb5f749f194f..180d568352d1 100644
--- a/bin/chio/chio.c
+++ b/bin/chio/chio.c
@@ -656,7 +656,7 @@ do_status(char *cname, int argc, char **argv)
printf(" avoltag: <%s:%d>",
ces->ces_avoltag.cv_volid,
ces->ces_avoltag.cv_serial);
- if (source)
+ if (source) {
if (ces->ces_flags & CES_SOURCE_VALID)
printf(" source: <%s %d>",
element_type_name(
@@ -664,6 +664,7 @@ do_status(char *cname, int argc, char **argv)
ces->ces_source_addr);
else
printf(" source: <>");
+ }
if (intaddr)
printf(" intaddr: <%d>", ces->ces_int_addr);
if (scsi) {