]> git.hungrycats.org Git - linux/commitdiff
[PATCH] janitor: __FUNCTION__ string concatenation deprecated
authorMaximilian Attems <janitor@sternwelten.at>
Tue, 19 Oct 2004 01:23:55 +0000 (18:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:23:55 +0000 (18:23 -0700)
__FUNCTION__ string concatenation is deprecated

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/au1000/db1x00/mirage_ts.c

index 585861e80b64789112e3bca16c01e9b6459fe189..58d41c29395e4fdbb363a4003eb1116a7cb4e7cd 100644 (file)
@@ -68,7 +68,7 @@ int wm97xx_comodule_present = 1;
 #define err(format, arg...) printk(KERN_ERR TS_NAME ": " format "\n" , ## arg)
 #define info(format, arg...) printk(KERN_INFO TS_NAME ": " format "\n" , ## arg)
 #define warn(format, arg...) printk(KERN_WARNING TS_NAME ": " format "\n" , ## arg)
-#define DPRINTK(format, arg...) printk(__FUNCTION__ ": " format "\n" , ## arg)
+#define DPRINTK(format, arg...) printk("%s: " format "\n", __FUNCTION__ , ## arg)
 
 
 #define PEN_DOWN_IRQ   AU1000_GPIO_7