[Pdbg] [PATCH 1/4] progress: End function on a new line
Amitay Isaacs
amitay at ozlabs.org
Thu Aug 2 14:35:04 AEST 2018
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
src/progress.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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)
{
--
2.17.1
More information about the Pdbg
mailing list