aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-24 12:24:11 -0400
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-24 12:24:11 -0400
commite1b09eba2686eca94a3a188042b518df6044a3c1 (patch)
treee528e42fde80c61b21e35266584ca73b32c0a962 /kernel
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')
-rw-r--r--kernel/audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 6f1784dd80af..2617d0552400 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -286,7 +286,7 @@ int kauditd_thread(void *dummy)
286 audit_pid = 0; 286 audit_pid = 0;
287 } 287 }
288 } else { 288 } else {
289 printk(KERN_ERR "%s\n", skb->data + NLMSG_SPACE(0)); 289 printk(KERN_NOTICE "%s\n", skb->data + NLMSG_SPACE(0));
290 kfree_skb(skb); 290 kfree_skb(skb);
291 } 291 }
292 } else { 292 } else {
@@ -868,7 +868,7 @@ void audit_log_end(struct audit_buffer *ab)
868 ab->skb = NULL; 868 ab->skb = NULL;
869 wake_up_interruptible(&kauditd_wait); 869 wake_up_interruptible(&kauditd_wait);
870 } else { 870 } else {
871 printk("%s\n", ab->skb->data + NLMSG_SPACE(0)); 871 printk(KERN_NOTICE "%s\n", ab->skb->data + NLMSG_SPACE(0));
872 } 872 }
873 } 873 }
874 audit_buffer_free(ab); 874 audit_buffer_free(ab);