--- acl.y 2001/01/18 20:30:50 1.8
+++ acl.y 2001/01/19 14:56:33 1.9
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/acl.y,v $
- $Revision: 1.8 $
+ $Revision: 1.9 $
Copyright (C) 2000 by CyberSolutions GmbH, Germany.
@@ -158,7 +158,7 @@
fh = popen(filter, "w");
if (fh == NULL) {
- syslog(LOG_ERR, "Failed to open ACL-filter \"%s\": %m", filter);
+ syslog(LOG_ERR, "Failed to open ACL-filter \"%s\": %s", filter, strerror(errno));
return -1;
}
fprintf(fh, "%s\n", g_MailStruct->Header);
@@ -263,7 +263,7 @@
/* no master acl file */
goto check_local_acl_file;
default:
- syslog(LOG_ERR, "Couldn't open \"%s\" acl file.: %m", MasterConfig->acl_file);
+ syslog(LOG_ERR, "Couldn't open \"%s\" acl file: %s", MasterConfig->acl_file, strerror(errno));
return -1;
}
}
@@ -307,7 +307,7 @@
/* no list acl file */
goto finished;
default:
- syslog(LOG_ERR, "Couldn't open acl file \"%s\": %m", ListConfig->acl_file);
+ syslog(LOG_ERR, "Couldn't open acl file \"%s\": %s", ListConfig->acl_file, strerror(errno));
return -1;
}
}
@@ -316,7 +316,7 @@
fclose(yyin);
yyin = NULL;
if (rc != 0) {
- syslog(LOG_ERR, "Parsing \"~petidomo/etc/acl\" file returned with an error.");
+ syslog(LOG_ERR, "Parsing \"%s\" file returned with an error.", ListConfig->acl_file);
return -1;
}
|