diff mbox series

[1/4] progress: End function on a new line

Message ID 20180802043507.28734-2-amitay@ozlabs.org
State Accepted
Headers show
Series Refactoring progress bar code | expand

Commit Message

Amitay Isaacs Aug. 2, 2018, 4:35 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 src/progress.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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)
 {