linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Sat, 22 Jan 2005 22:29:54 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/01/22 22:29:48

Modified files:
        include/asm-mips: debug.h 

Log message:
        No \n in panic strings.

diff -urN linux/include/asm-mips/debug.h linux/include/asm-mips/debug.h
--- linux/include/asm-mips/debug.h      2004/11/24 11:10:31     1.4
+++ linux/include/asm-mips/debug.h      2005/01/22 22:29:48     1.5
@@ -29,9 +29,9 @@
 #include <linux/kernel.h>
 
 #define db_assert(x)  if (!(x)) { \
-       panic("assertion failed at %s:%d: %s\n", __FILE__, __LINE__, #x); }
+       panic("assertion failed at %s:%d: %s", __FILE__, __LINE__, #x); }
 #define db_warn(x)  if (!(x)) { \
-       printk(KERN_WARNING "warning at %s:%d: %s\n", __FILE__, __LINE__, #x); }
+       printk(KERN_WARNING "warning at %s:%d: %s", __FILE__, __LINE__, #x); }
 #define db_verify(x, y) db_assert(x y)
 #define db_verify_warn(x, y) db_warn(x y)
 #define db_run(x)  do { x; } while (0)

<Prev in Thread] Current Thread [Next in Thread>