]> granicus.if.org Git - shadow/commitdiff
* libmisc/audit_help.c (audit_logger):pgname is not used. We let
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 21 Aug 2010 15:22:39 +0000 (15:22 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 21 Aug 2010 15:22:39 +0000 (15:22 +0000)
audit find out the name of the program.
* libmisc/audit_help.c: Re-indent.

ChangeLog
libmisc/audit_help.c

index 5bcb5531936c864bf9908c643ff336e75db49b36..41cad419c941ca2a06b570016b091008dc34a06d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 8e8bc2689b170abc10d29cae80bfb1778237efc7..1aadaa3791b1873bf775adcb5324fb60bda67204 100644 (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);
        }
 }