From a0e0582e33b9c904ff42f45e22fd469da56883f1 Mon Sep 17 00:00:00 2001 From: JianjunJiang <8192542@qq.com> Date: Thu, 28 Oct 2021 09:55:11 +0800 Subject: [PATCH] [progress]update progress.c --- progress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/progress.c b/progress.c index 2a2f6b8..063d6d7 100644 --- a/progress.c +++ b/progress.c @@ -60,9 +60,9 @@ void progress_update(struct progress_t * p, uint64_t bytes) for(i = pos; i < 48; i++) putchar(' '); if(p->done < p->total) - printf("] %s/s, ETA %s \r", ssize(buf1, speed), format_eta(eta)); + printf("] %s/s, ETA %s \r", ssize(buf1, speed), format_eta(eta)); else - printf("] %s, %s/s \r", ssize(buf1, p->done), ssize(buf2, speed)); + printf("] %s, %s/s \r", ssize(buf1, p->done), ssize(buf2, speed)); fflush(stdout); } }