mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Flush stdout when displaying progress bar
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
9073be1298
commit
b87ed383d3
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user