Permalink
Browse files

#8235 control variable is cb.cb_iteration not cb.iteration

  • Loading branch information...
madwizard committed Jan 6, 2019
1 parent ae8f0a9 commit ef6255411061237095a6f9ba32f1921b2645993f
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/zpool/zpool_main.c
@@ -5067,7 +5067,7 @@ zpool_do_iostat(int argc, char **argv)
if (((++cb.cb_iteration == 1 && !skip) ||
(skip != verbose)) &&
(!(cb.cb_flags & IOS_ANYHISTO_M)) &&
!cb.cb_scripted || (!headers_once && (cb.iteration%winheight)==0))
!cb.cb_scripted || (!headers_once && (cb.cb_iteration%winheight)==0))
print_iostat_header(&cb);

if (skip) {

0 comments on commit ef62554

Please sign in to comment.