Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5648a81
)
Correct the plural in "1 file to consider." (Greg Louis)
author
Martin Pool
<mbp@samba.org>
Thu, 14 Mar 2002 12:00:12 +0000
(12:00 +0000)
committer
Martin Pool
<mbp@samba.org>
Thu, 14 Mar 2002 12:00:12 +0000
(12:00 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
151ae87
..
045c2f2
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-101,12
+101,13
@@
static void finish_filelist_progress(const struct file_list *flist)
{
if (do_progress) {
/* This overwrites the progress line */
- rprintf(FINFO, "%d files to consider\n", flist->count);
- } else
+ rprintf(FINFO, "%d file%sto consider\n",
+ flist->count, flist->count == 1 ? " " : "s ");
+ } else {
rprintf(FINFO, "done\n");
+ }
}
-
void show_flist_stats(void)
{
/* Nothing yet */