Displaying 1 result from an estimated 1 matches for "xferred_files".
2008 Oct 22
1
[PATCH] Make progress output show "done" instead of "to-chk".
...25be374..7309a5d 100644
--- a/progress.c
+++ b/progress.c
@@ -72,9 +72,9 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now,
if (is_last) {
int len = snprintf(eol, sizeof eol,
- " (xfr#%d, to-chk=%d/%d)\n",
+ " (xfr#%d, done=%d/%d)\n",
stats.xferred_files,
- stats.num_files - current_file_index - 1,
+ current_file_index,
stats.num_files);
if (INFO_GTE(PROGRESS, 2)) {
static int last_len = 0;
--
1.6.0.2.593.g91df