diff options
author | Remy Blank <[email protected]> | 2015-09-13 13:41:16 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-09-19 14:17:07 -0700 |
commit | e7a05183c49fc897fe56e060fcbfbc20a41bf9f0 (patch) | |
tree | 3fbeb1512fd88b0dbd7ae3a876d7890b9827f83b | |
parent | 3af56fd95fbe8b417d7ed7c9c25ef59d6f1ee161 (diff) |
Tab-indent continuation lines in the "scan:" section of "zpool status".
All other sections use a tab, which makes them easy to parse. Only the
"scan:" section had its continuation lines indented with four spaces.
This makes them consistent with the others.
Signed-off-by: Remy Blank <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #3769
-rw-r--r-- | cmd/zpool/zpool_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index aa9b21dad..f32efcef2 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -4131,7 +4131,7 @@ print_scan_status(pool_scan_stat_t *ps) /* * do not print estimated time if hours_left is more than 30 days */ - (void) printf(gettext(" %s scanned out of %s at %s/s"), + (void) printf(gettext("\t%s scanned out of %s at %s/s"), examined_buf, total_buf, rate_buf); if (hours_left < (30 * 24)) { (void) printf(gettext(", %lluh%um to go\n"), @@ -4142,10 +4142,10 @@ print_scan_status(pool_scan_stat_t *ps) } if (ps->pss_func == POOL_SCAN_RESILVER) { - (void) printf(gettext(" %s resilvered, %.2f%% done\n"), + (void) printf(gettext("\t%s resilvered, %.2f%% done\n"), processed_buf, 100 * fraction_done); } else if (ps->pss_func == POOL_SCAN_SCRUB) { - (void) printf(gettext(" %s repaired, %.2f%% done\n"), + (void) printf(gettext("\t%s repaired, %.2f%% done\n"), processed_buf, 100 * fraction_done); } } |