OpenedFile = fopen( FileName, "r" );
if( NULL == OpenedFile )
{
- rprintf(FERROR,"rsync: unable to open configuration file \"%s\": %s\n",
- FileName, strerror(errno));
+ rsyserr(FERROR, errno, "rsync: unable to open configuration file \"%s\"",
+ FileName);
}
return( OpenedFile );