PERFORCE change 91726 for review
Christian S.J. Peron
csjp at FreeBSD.org
Mon Feb 13 21:02:31 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=91726
Change 91726 by csjp at csjp_xor on 2006/02/14 05:02:10
Remove gratuitous whitespace which managed to sneak in with my previous
submit.
Affected files ...
.. //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#9 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#9 (text+ko) ====
@@ -672,16 +672,16 @@
(void) au_write(afd, token);
if (fmt != NULL) {
va_start(ap, fmt);
- vsnprintf(&text[0], sizeof(text) - 1, fmt, ap);
- va_end(ap);
- token = au_to_text(&text[0]);
- if (token == NULL) {
+ (void) vsnprintf(&text[0], sizeof(text) - 1, fmt, ap);
+ va_end(ap);
+ token = au_to_text(&text[0]);
+ if (token == NULL) {
syslog(LOG_AUTH | LOG_ERR,
"failed to generate text token");
return;
}
- (void) au_write(afd, token);
- }
+ (void) au_write(afd, token);
+ }
switch (what) {
case AUDIT_SU_FAILURE:
token = au_to_return32(1, EPERM);
More information about the trustedbsd-cvs
mailing list