From c20bba0313c31feb6c82d3bb57bdfe2e7db4f8d6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 9 Apr 2024 10:50:20 +0200 Subject: [PATCH] human-readable: append suffix "B" for byte to ofs --- progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress.c b/progress.c index 98a01c84..5e20fb40 100644 --- a/progress.c +++ b/progress.c @@ -115,7 +115,7 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, int is_l output_needs_newline = 0; pct = ofs == size ? 100 : (int) (100.0 * ofs / size); - rprintf(FCLIENT, "\r%15s %3d%% %7sB/s %s%s", + rprintf(FCLIENT, "\r%15sB %3d%% %7sB/s %s%s", human_num(ofs), pct, human_num(rate), rembuf, eol); if (!is_last && !quiet) { output_needs_newline = 1;