summaryrefslogtreecommitdiff
path: root/exclude.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-30 03:57:22 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-30 03:57:22 +0000
commitdc5ddbccace1f4f37d57ce5d961117effc28a356 (patch)
treefce7b973e4a4a1ed8625ae02a72827aae72aed1a /exclude.c
parentd5ee1f8e7a370884aa9c5353de5129728ed9a37b (diff)
downloadrsync-dc5ddbccace1f4f37d57ce5d961117effc28a356.tar.gz
- hard links
- better sparse handling - FERROR and FINFO
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/exclude.c b/exclude.c
index 9a837411..e82bafa5 100644
--- a/exclude.c
+++ b/exclude.c
@@ -86,7 +86,7 @@ void add_exclude_list(char *pattern,char ***list)
if (strcmp(pattern,"!") == 0) {
if (verbose > 2)
- fprintf(stderr,"clearing exclude list\n");
+ fprintf(FERROR,"clearing exclude list\n");
while ((len)--)
free((*list)[len]);
free((*list));
@@ -104,7 +104,7 @@ void add_exclude_list(char *pattern,char ***list)
out_of_memory("add_exclude");
if (verbose > 2)
- fprintf(stderr,"add_exclude(%s)\n",pattern);
+ fprintf(FERROR,"add_exclude(%s)\n",pattern);
(*list)[len+1] = NULL;
}
@@ -121,7 +121,7 @@ char **make_exclude_list(char *fname,char **list1,int fatal)
char line[MAXPATHLEN];
if (!f) {
if (fatal) {
- fprintf(stderr,"%s : %s\n",fname,strerror(errno));
+ fprintf(FERROR,"%s : %s\n",fname,strerror(errno));
exit_cleanup(1);
}
return list;