Flush stdout when displaying progress bar

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2020-04-24 19:08:39 -04:00
parent 9073be1298
commit b87ed383d3

View File

@ -954,6 +954,7 @@ int bchu_data(struct bchfs_handle fs, struct bch_ioctl_data cmd)
e.p.pos.offset);
}
fflush(stdout);
sleep(1);
}
printf("\nDone\n");