PERFORCE change 91493 for review
Christian S.J. Peron
csjp at FreeBSD.org
Fri Feb 10 06:35:16 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=91493
Change 91493 by csjp at csjp_xor on 2006/02/10 06:34:52
It is alright to use err(3) instead of errx(3) here, as auditon(2) will set
errno when it fails
Affected files ...
.. //depot/projects/trustedbsd/audit3/usr.bin/login/login_audit.c#10 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/usr.bin/login/login_audit.c#10 (text+ko) ====
@@ -72,7 +72,7 @@
if (auditon(A_GETCOND, &au_cond, sizeof(long)) < 0) {
if (errno == ENOSYS)
return;
- errx(1, "login: Could not determine audit condition");
+ err(1, "login: Could not determine audit condition");
}
if (au_cond == AUC_NOAUDIT)
return;
@@ -125,7 +125,7 @@
if (auditon(A_GETCOND, &au_cond, sizeof(long)) < 0) {
if (errno == ENOSYS)
return;
- errx(1, "login: Could not determine audit condition");
+ err(1, "login: Could not determine audit condition");
}
if (au_cond == AUC_NOAUDIT)
return;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list