Message ID | 20180802043507.28734-2-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Refactoring progress bar code | expand |
diff --git a/src/progress.c b/src/progress.c index fe443b9..9772374 100644 --- a/src/progress.c +++ b/src/progress.c @@ -42,7 +42,8 @@ void progress_init(void) fprintf(stderr, " "); fprintf(stderr, "] 0%%"); fflush(stderr); - clock_gettime(CLOCK_MONOTONIC, &progress_start);} + clock_gettime(CLOCK_MONOTONIC, &progress_start); +} void progress_tick(uint64_t cur, uint64_t end) {
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- src/progress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)