From 5034557bdd5f770ce67143600a98fad3114ff3bd Mon Sep 17 00:00:00 2001 From: DeHackEd Date: Mon, 24 Apr 2017 13:33:28 -0400 Subject: [PATCH] Fix 'zpool iostat -v' cache and log output Fixes formatting errors from commit d6418de057 Reviewed-by: George Melikov Reviewed-by: loli10K Reviewed-by: Tony Hutter Signed-off-by: DHE Closes #6060 --- cmd/zpool/zpool_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 4b67bfde0..67b0ab058 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -3611,6 +3611,7 @@ children: !cb->cb_vdev_names) { print_iostat_dashes(cb, 0, "logs"); } + printf("\n"); for (c = 0; c < children; c++) { uint64_t islog = B_FALSE; @@ -3645,6 +3646,7 @@ children: !cb->cb_vdev_names) { print_iostat_dashes(cb, 0, "cache"); } + printf("\n"); for (c = 0; c < children; c++) { vname = zpool_vdev_name(g_zfs, zhp, newchild[c],