From: David Woodhouse Date: Fri, 24 Jun 2005 16:24:11 +0000 (+0100) Subject: AUDIT: Use KERN_NOTICE for printk of audit records X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1b09eba2686eca94a3a188042b518df6044a3c1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git AUDIT: Use KERN_NOTICE for printk of audit records They aren't errors. Signed-off-by: David Woodhouse --- 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) 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);