* libmisc/audit_help.c (audit_logger):pgname is not used. We let

audit find out the name of the program.
	* libmisc/audit_help.c: Re-indent.
This commit is contained in:
nekral-guest 2010-08-21 15:22:39 +00:00
parent 4f667bb442
commit 6a2f349ec5
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-08-21 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/audit_help.c (audit_logger):pgname is not used. We let
audit find out the name of the program.
* libmisc/audit_help.c: Re-indent.
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
* lib/groupio.c: Avoid implicit conversion from signed to unsigned.

View File

@ -76,7 +76,7 @@ void audit_help_open (void)
* id - uid or gid that the operation is being performed on. This is used
* only when user is NULL.
*/
void audit_logger (int type, const char *pgname, const char *op,
void audit_logger (int type, unused const char *pgname, const char *op,
const char *name, unsigned int id,
shadow_audit_result result)
{
@ -84,7 +84,7 @@ void audit_logger (int type, const char *pgname, const char *op,
return;
} else {
audit_log_acct_message (audit_fd, type, NULL, op, name, id,
NULL, NULL, NULL, (int) result);
NULL, NULL, NULL, (int) result);
}
}