diff options
author | DeHackEd <[email protected]> | 2018-02-06 19:35:16 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-02-06 16:35:16 -0800 |
commit | 0cf3430d2dfca4045ac89b18c65cdef40a4ff907 (patch) | |
tree | 1e56cc1c1545ed99e2d845b32e00e4b096fbbcca /cmd | |
parent | 3d25488afbc2eeaa92b12f7f8b6d686e7ef342eb (diff) |
Fix `zpool status` overflow on fast scrubs
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Richard Elling <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: DHE <[email protected]>
Closes #7133
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zpool/zpool_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 273453f00..9aa6dce96 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -5989,7 +5989,7 @@ print_scan_status(pool_scan_stat_t *ps) uint64_t total_secs_left; uint64_t elapsed, secs_left, mins_left, hours_left, days_left; uint64_t pass_scanned, scanned, pass_issued, issued, total; - uint_t scan_rate, issue_rate; + uint64_t scan_rate, issue_rate; double fraction_done; char processed_buf[7], scanned_buf[7], issued_buf[7], total_buf[7]; char srate_buf[7], irate_buf[7]; |