]> git.neil.brown.name Git - history.git/commitdiff
drivers/char/sonypi.h: Fix __FUNCTION__ usage
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 2 Sep 2002 09:41:12 +0000 (04:41 -0500)
committerKai Germaschewski <kai@zephyr.physics.uiowa.edu>
Mon, 2 Sep 2002 09:41:12 +0000 (04:41 -0500)
drivers/char/sonypi.h

index 87683ef8209672044eb0dcf865dec141aed2a660..72e2235042a8e2be9d9e4d62f82f8d719f1cdd55 100644 (file)
@@ -258,7 +258,7 @@ struct sonypi_device {
        while (--n && (command)) \
                udelay(1); \
        if (!n && (verbose || !quiet)) \
-               printk(KERN_WARNING "sonypi command failed at " __FILE__ " : " __FUNCTION__ "(line %d)\n", __LINE__); \
+               printk(KERN_WARNING "sonypi command failed at %s : %s(line %d)\n", __FILE__ , __FUNCTION__ , __LINE__); \
 }
 
 #endif /* __KERNEL__ */