Date: Tue, 14 Feb 2006 05:02:26 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91726 for review Message-ID: <200602140502.k1E52Q8F060389@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91726 Change 91726 by csjp@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602140502.k1E52Q8F060389>