[Pkg-shadow-commits] r3223 - in upstream/trunk: . libmisc

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sat Aug 21 15:22:42 UTC 2010


Author: nekral-guest
Date: 2010-08-21 15:22:39 +0000 (Sat, 21 Aug 2010)
New Revision: 3223

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/audit_help.c
Log:
	* 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.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-08-20 20:35:52 UTC (rev 3222)
+++ upstream/trunk/ChangeLog	2010-08-21 15:22:39 UTC (rev 3223)
@@ -1,3 +1,9 @@
+2010-08-21  Nicolas François  <nicolas.francois at 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 at centraliens.net>
 
 	* lib/groupio.c: Avoid implicit conversion from signed to unsigned.

Modified: upstream/trunk/libmisc/audit_help.c
===================================================================
--- upstream/trunk/libmisc/audit_help.c	2010-08-20 20:35:52 UTC (rev 3222)
+++ upstream/trunk/libmisc/audit_help.c	2010-08-21 15:22:39 UTC (rev 3223)
@@ -76,7 +76,7 @@
  * 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 @@
 		return;
 	} else {
 		audit_log_acct_message (audit_fd, type, NULL, op, name, id,
-					NULL, NULL, NULL, (int) result);
+		                        NULL, NULL, NULL, (int) result);
 	}
 }
 




More information about the Pkg-shadow-commits mailing list