aboutsummaryrefslogtreecommitdiff
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-24 17:24:11 +0100
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-24 17:24:11 +0100
commite1b09eba2686eca94a3a188042b518df6044a3c1 (patch)
treee528e42fde80c61b21e35266584ca73b32c0a962 /kernel/audit.c
parent5bb289b5a0becb53ac3e1d60815ff8b779296b73 (diff)
AUDIT: Use KERN_NOTICE for printk of audit records
They aren't errors. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 6f1784dd80a..2617d055240 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -286,7 +286,7 @@ int kauditd_thread(void *dummy)
audit_pid = 0;
}
} else {
- printk(KERN_ERR "%s\n", skb->data + NLMSG_SPACE(0));
+ printk(KERN_NOTICE "%s\n", skb->data + NLMSG_SPACE(0));
kfree_skb(skb);
}
} else {
@@ -868,7 +868,7 @@ void audit_log_end(struct audit_buffer *ab)
ab->skb = NULL;
wake_up_interruptible(&kauditd_wait);
} else {
- printk("%s\n", ab->skb->data + NLMSG_SPACE(0));
+ printk(KERN_NOTICE "%s\n", ab->skb->data + NLMSG_SPACE(0));
}
}
audit_buffer_free(ab);