PERFORCE change 91728 for review
Christian S.J. Peron
csjp at FreeBSD.org
Mon Feb 13 21:08:08 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=91728
Change 91728 by csjp at csjp_xor on 2006/02/14 05:07:08
Consistently prefix audit related syslog messages with "audit".
Affected files ...
.. //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#10 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#10 (text+ko) ====
@@ -654,7 +654,7 @@
}
afd = au_open();
if (afd < 0) {
- syslog(LOG_AUTH | LOG_ERR, "au_open failed: %s",
+ syslog(LOG_AUTH | LOG_ERR, "audit: au_open failed: %s",
strerror(errno));
return;
}
@@ -677,7 +677,7 @@
token = au_to_text(&text[0]);
if (token == NULL) {
syslog(LOG_AUTH | LOG_ERR,
- "failed to generate text token");
+ "audit: failed to generate text token");
return;
}
(void) au_write(afd, token);
More information about the trustedbsd-cvs
mailing list