* libmisc/audit_help.c: Add brackets.
This commit is contained in:
parent
6099bda088
commit
e91899c0da
@ -1,3 +1,7 @@
|
|||||||
|
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* libmisc/audit_help.c: Add brackets.
|
||||||
|
|
||||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* libmisc/addgrps.c: Avoid implicit conversion of pointers to
|
* libmisc/addgrps.c: Avoid implicit conversion of pointers to
|
||||||
|
@ -77,12 +77,13 @@ void audit_help_open (void)
|
|||||||
void audit_logger (int type, const char *pgname, const char *op,
|
void audit_logger (int type, const char *pgname, const char *op,
|
||||||
const char *name, unsigned int id, int result)
|
const char *name, unsigned int id, int result)
|
||||||
{
|
{
|
||||||
if (audit_fd < 0)
|
if (audit_fd < 0) {
|
||||||
return;
|
return;
|
||||||
else
|
} else {
|
||||||
audit_log_acct_message (audit_fd, type, NULL, op, name, id,
|
audit_log_acct_message (audit_fd, type, NULL, op, name, id,
|
||||||
NULL, NULL, NULL, result);
|
NULL, NULL, NULL, result);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#else /* WITH_AUDIT */
|
#else /* WITH_AUDIT */
|
||||||
extern int errno; /* warning: ANSI C forbids an empty source file */
|
extern int errno; /* warning: ANSI C forbids an empty source file */
|
||||||
|
Loading…
Reference in New Issue
Block a user