]> git.karo-electronics.de Git - linux-beck.git/commitdiff
audit: remove stray newline from audit_log_execve_info() audit_panic() call
authorJoe Perches <joe@perches.com>
Wed, 5 Mar 2014 22:34:36 +0000 (14:34 -0800)
committerEric Paris <eparis@redhat.com>
Thu, 20 Mar 2014 14:11:58 +0000 (10:11 -0400)
There's an unnecessary use of a \n in audit_panic.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
kernel/auditsc.c

index bd3de52600fff8b2b68390d39a3ae3b3b5ce1ec9..254ce2063d1d547189ed3c1796ad1a0c809a8729 100644 (file)
@@ -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;
        }