From 6a2f349ec507327c643f4e20080c522dc5ead527 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 21 Aug 2010 15:22:39 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ libmisc/audit_help.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5bcb5531..41cad419 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-21 Nicolas François + + * 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 * lib/groupio.c: Avoid implicit conversion from signed to unsigned. diff --git a/libmisc/audit_help.c b/libmisc/audit_help.c index 8e8bc268..1aadaa37 100644 --- a/libmisc/audit_help.c +++ b/libmisc/audit_help.c @@ -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); } }