From: Wayne Davison Date: Thu, 3 Nov 2005 19:55:30 +0000 (+0000) Subject: Fixed a sign error in the output. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/3381ffa6eac382c0e85fdd9cd59271f2fde35f52 Fixed a sign error in the output. --- diff --git a/progress.c b/progress.c index d972b43d..7daa28a1 100644 --- a/progress.c +++ b/progress.c @@ -99,7 +99,7 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, if (is_last) { snprintf(eol, sizeof eol, " (xfer#%d, to-check=%d/%d)\n", stats.num_transferred_files, - stats.current_file_index+1 - stats.num_files, + stats.num_files - stats.current_file_index - 1, stats.num_files); } else strcpy(eol, "\r");