Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid adding our own exclude of the partial-dir name if the
[rsync/rsync.git]
/
params.c
diff --git
a/params.c
b/params.c
index
56a2a91
..
9598146
100644
(file)
--- a/
params.c
+++ b/
params.c
@@
-491,8
+491,8
@@
static FILE *OpenConfFile( char *FileName )
OpenedFile = fopen( FileName, "r" );
if( NULL == OpenedFile )
{
OpenedFile = fopen( FileName, "r" );
if( NULL == OpenedFile )
{
- r
printf(FERROR,"rsync: unable to open configuration file \"%s\": %s\n
",
- FileName
, strerror(errno)
);
+ r
syserr(FERROR, errno, "rsync: unable to open configuration file \"%s\"
",
+ FileName);
}
return( OpenedFile );
}
return( OpenedFile );