From 3381ffa6eac382c0e85fdd9cd59271f2fde35f52 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 3 Nov 2005 19:55:30 +0000 Subject: [PATCH] Fixed a sign error in the output. --- progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.34.1