Skip to content

Commit

Permalink
human-readable: append suffix "B" for byte to ofs
Browse files Browse the repository at this point in the history
  • Loading branch information
eworm-de committed Apr 11, 2024
1 parent d60e961 commit cb0b932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion progress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cb0b932

Please sign in to comment.