projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1377402
)
AUDIT: Fix definition of audit_log() if audit not enabled
author
David Woodhouse
<dwmw2@shinybook.infradead.org>
Sat, 2 Jul 2005 12:50:40 +0000
(13:50 +0100)
committer
David Woodhouse
<dwmw2@shinybook.infradead.org>
Sat, 2 Jul 2005 12:50:40 +0000
(13:50 +0100)
audit_log() also takes an extra argument, although it's a vararg
function so the compiler didn't really notice.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/audit.h
patch
|
blob
|
history
diff --git
a/include/linux/audit.h
b/include/linux/audit.h
index c22405fc2ddf728cc531ca65f233d0c9d796ff6e..d68e85580a5382ddfe37720f1d57aad057d56b65 100644
(file)
--- a/
include/linux/audit.h
+++ b/
include/linux/audit.h
@@
-285,7
+285,7
@@
extern void audit_send_reply(int pid, int seq, int type,
extern void audit_log_lost(const char *message);
extern struct semaphore audit_netlink_sem;
#else
-#define audit_log(c,t,f,...) do { ; } while (0)
+#define audit_log(c,
g,
t,f,...) do { ; } while (0)
#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)