2.6.13-rc1-mm1 audit_log_start() warning fix
PATCH 1/1 2.6.13-rc1-mm1 audit_log_start() warning fix
Hi Andrew,
audit_log_start() seems to take 3 arguments, but
its defined to take only 2 when AUDIT is turned
off. Simple patch to fix it.
security/selinux/avc.c:553:75: macro "audit_log_start" passed 3 arguments, but takes just 2
Thanks,
Badari
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
include/linux/audit.h +1 -1
@@ -286,7 +286,7 @@ extern void audit_log_lost(const chextern struct semaphore audit_netlink_sem;#else #define audit_log (c,t,f,...) do { ; } while (0) -#define audit_log_start (c,t) ({ NULL; }) +#define audit_log_start (c,g,t) ({ NULL; })#define audit_log_vformat (b,f,a) do { ; } while (0)#define audit_log_format (b,f,...) do { ; } while (0)#define audit_log_end (b) do { ; } while (0)