summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mfiutil
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-08-25 08:47:38 +0000
committerbz <bz@FreeBSD.org>2011-08-25 08:47:38 +0000
commitd491106e41e82491cb69f865172f26c93efad73b (patch)
tree858fcdec56fc84b563bf6a48c12d33008412b73a /usr.sbin/mfiutil
parentd02c70f432d57241ad6adf044f5fea83d571bd99 (diff)
downloadFreeBSD-src-d491106e41e82491cb69f865172f26c93efad73b.zip
FreeBSD-src-d491106e41e82491cb69f865172f26c93efad73b.tar.gz
If a drive is not part of the array (i.e. missing) we need to print the
new line after the pd state information as well, so move it to the outside of the block. Submitted by: Mark Johnston at Sandvine Inc MFC atfer: 3 days Approved by: re (kib)
Diffstat (limited to 'usr.sbin/mfiutil')
-rw-r--r--usr.sbin/mfiutil/mfi_show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mfiutil/mfi_show.c b/usr.sbin/mfiutil/mfi_show.c
index ee19e86..9d9f7a1 100644
--- a/usr.sbin/mfiutil/mfi_show.c
+++ b/usr.sbin/mfiutil/mfi_show.c
@@ -330,8 +330,8 @@ show_config(int ac, char **av)
mfi_pdstate(ar->pd[j].fw_state));
else
print_pd(&pinfo, -1);
- printf("\n");
}
+ printf("\n");
}
p += config->array_size;
}
OpenPOWER on IntegriCloud