AUDIT: Use KERN_NOTICE for printk of audit records

They aren't errors.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse 2005-06-24 17:24:11 +01:00
parent 5bb289b5a0
commit e1b09eba26
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ int kauditd_thread(void *dummy)
audit_pid = 0; audit_pid = 0;
} }
} else { } else {
printk(KERN_ERR "%s\n", skb->data + NLMSG_SPACE(0)); printk(KERN_NOTICE "%s\n", skb->data + NLMSG_SPACE(0));
kfree_skb(skb); kfree_skb(skb);
} }
} else { } else {
@ -868,7 +868,7 @@ void audit_log_end(struct audit_buffer *ab)
ab->skb = NULL; ab->skb = NULL;
wake_up_interruptible(&kauditd_wait); wake_up_interruptible(&kauditd_wait);
} else { } 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); audit_buffer_free(ab);