diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-02 08:50:40 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-02 08:50:40 -0400 |
commit | 7b430437c0de81681ecfa8efa8f55823df733529 (patch) | |
tree | c91b2dcb370b561c448d9005ef0ec41426ff7ef3 /include/linux | |
parent | 13774024da8ebdf17212c0f5a83f5b0681a649eb (diff) |
AUDIT: Fix definition of audit_log() if audit not enabled
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index c22405fc2ddf..d68e85580a53 100644 --- 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, | |||
285 | extern void audit_log_lost(const char *message); | 285 | extern void audit_log_lost(const char *message); |
286 | extern struct semaphore audit_netlink_sem; | 286 | extern struct semaphore audit_netlink_sem; |
287 | #else | 287 | #else |
288 | #define audit_log(c,t,f,...) do { ; } while (0) | 288 | #define audit_log(c,g,t,f,...) do { ; } while (0) |
289 | #define audit_log_start(c,g,t) ({ NULL; }) | 289 | #define audit_log_start(c,g,t) ({ NULL; }) |
290 | #define audit_log_vformat(b,f,a) do { ; } while (0) | 290 | #define audit_log_vformat(b,f,a) do { ; } while (0) |
291 | #define audit_log_format(b,f,...) do { ; } while (0) | 291 | #define audit_log_format(b,f,...) do { ; } while (0) |