aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-05 14:34:36 -0800
committerEric Paris <eparis@redhat.com>2014-03-20 10:11:58 -0400
commitb7550787fe8b5beffb5f56fa11a87712d699d085 (patch)
tree01ec88fc8ea70dd90da8f7403008a18452a5fc45 /kernel/auditsc.c
parentaudit: remove stray newlines from audit_log_lost messages (diff)
downloadlinux-dev-b7550787fe8b5beffb5f56fa11a87712d699d085.tar.xz
linux-dev-b7550787fe8b5beffb5f56fa11a87712d699d085.zip
audit: remove stray newline from audit_log_execve_info() audit_panic() call
There's an unnecessary use of a \n in audit_panic. Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index bd3de52600ff..254ce2063d1d 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1173,7 +1173,7 @@ static void audit_log_execve_info(struct audit_context *context,
*/
buf = kmalloc(MAX_EXECVE_AUDIT_LEN + 1, GFP_KERNEL);
if (!buf) {
- audit_panic("out of memory for argv string\n");
+ audit_panic("out of memory for argv string");
return;
}