Skip to content

Commit 4f8af12

Browse files
committed
human-readable: append suffix "B" for byte to ofs
1 parent ee405eb commit 4f8af12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

progress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, int is_l
115115

116116
output_needs_newline = 0;
117117
pct = ofs == size ? 100 : (int) (100.0 * ofs / size);
118-
rprintf(FCLIENT, "\r%15s %3d%% %7sB/s %s%s",
118+
rprintf(FCLIENT, "\r%15sB %3d%% %7sB/s %s%s",
119119
human_num(ofs), pct, human_num(rate), rembuf, eol);
120120
if (!is_last && !quiet) {
121121
output_needs_newline = 1;

0 commit comments

Comments
 (0)