aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 02a5d9eefa82..c45e6d2809d7 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -755,7 +755,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
755 else { 755 else {
756 int size; 756 int size;
757 757
758 audit_log_format(ab, " msg="); 758 audit_log_format(ab, " data=");
759 size = nlmsg_len(nlh); 759 size = nlmsg_len(nlh);
760 if (size > 0 && 760 if (size > 0 &&
761 ((unsigned char *)data)[size - 1] == '\0') 761 ((unsigned char *)data)[size - 1] == '\0')