audit: remove stray newlines from audit_log_lost messages
authorJosh Boyer <jwboyer@fedoraproject.org>
Wed, 5 Mar 2014 21:29:55 +0000 (16:29 -0500)
committerEric Paris <eparis@redhat.com>
Thu, 20 Mar 2014 14:11:58 +0000 (10:11 -0400)
commitf12835276c3182f2b998d93dfd60100cf4b60c05
tree9d5c96c4038b0ac0e61bfa9c8337bf46bcb2a7ee
parentddfad8affdb73cc8df5890fef16d98d63ff3a6f0
audit: remove stray newlines from audit_log_lost messages

Calling audit_log_lost with a \n in the format string leads to extra
newlines in dmesg.  That function will eventually call audit_panic which
uses pr_err with an explicit \n included.  Just make these calls match the
others that lack \n.

Reported-by: Jonathan Kamens <jik@kamens.brookline.ma.us>
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
kernel/audit.c