X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/951e826b75c4a4e6bc066e248d7489fb6eba6fde..bb640d32213c5dce2ad26515b5fc26e023ec9b98:/progress.c diff --git a/progress.c b/progress.c index afd8ef63..b09ca118 100644 --- a/progress.c +++ b/progress.c @@ -25,6 +25,7 @@ extern int am_server; extern int need_unsorted_flist; extern int output_needs_newline; +extern int human_readable; extern struct stats stats; extern struct file_list *cur_flist; @@ -124,7 +125,7 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, output_needs_newline = 0; pct = ofs == size ? 100 : (int) (100.0 * ofs / size); rprintf(FCLIENT, "\r%12s %3d%% %7.2f%s %s%s", - human_num(ofs), pct, rate, units, rembuf, eol); + big_num(ofs, human_readable), pct, rate, units, rembuf, eol); if (!is_last) { output_needs_newline = 1; rflush(FCLIENT);