summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJoe Perches2014-03-05 23:34:36 +0100
committerEric Paris2014-03-20 15:11:58 +0100
commitb7550787fe8b5beffb5f56fa11a87712d699d085 (patch)
tree01ec88fc8ea70dd90da8f7403008a18452a5fc45 /kernel
parentaudit: remove stray newlines from audit_log_lost messages (diff)
downloadkernel-qcow2-linux-b7550787fe8b5beffb5f56fa11a87712d699d085.tar.gz
kernel-qcow2-linux-b7550787fe8b5beffb5f56fa11a87712d699d085.tar.xz
kernel-qcow2-linux-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')
-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;
}