]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Fix 'zpool iostat -v' cache and log output
authorDeHackEd <DeHackEd@users.noreply.github.com>
Mon, 24 Apr 2017 17:33:28 +0000 (13:33 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Apr 2017 17:33:28 +0000 (10:33 -0700)
Fixes formatting errors from commit d6418de057

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Closes #6060

cmd/zpool/zpool_main.c

index 4b67bfde0e1b460e6ff1fee5941282562957f92a..67b0ab058098c0ec7b54e6f29547a9c468d8c507 100644 (file)
@@ -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],