Fix a format-code, thus getting rid of a compile-time warning msg.

This commit is contained in:
Garance A Drosehn 2000-11-06 04:11:56 +00:00
parent fd9f324055
commit 7c17eaa6a8

View File

@ -1352,7 +1352,7 @@ dofork(pp, action)
*/
if (pid == 0) {
if ((pwd = getpwuid(pp->daemon_user)) == NULL) {
syslog(LOG_ERR, "Can't lookup default daemon uid (%d) in password file",
syslog(LOG_ERR, "Can't lookup default daemon uid (%ld) in password file",
pp->daemon_user);
break;
}