aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/audit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 801c946dd24b..cf6698289426 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1438,7 +1438,8 @@ void audit_log_end(struct audit_buffer *ab)
1438 ab->skb = NULL; 1438 ab->skb = NULL;
1439 wake_up_interruptible(&kauditd_wait); 1439 wake_up_interruptible(&kauditd_wait);
1440 } else { 1440 } else {
1441 printk(KERN_NOTICE "%s\n", ab->skb->data + NLMSG_SPACE(0)); 1441 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb);
1442 printk(KERN_NOTICE "type=%d %s\n", nlh->nlmsg_type, ab->skb->data + NLMSG_SPACE(0));
1442 } 1443 }
1443 } 1444 }
1444 audit_buffer_free(ab); 1445 audit_buffer_free(ab);