]> git.neil.brown.name Git - history.git/commitdiff
Fix sonipi driver to not do __FUNCTION__ pasting.
authorLinus Torvalds <torvalds@kiwi.transmeta.com>
Mon, 2 Sep 2002 20:55:23 +0000 (13:55 -0700)
committerLinus Torvalds <torvalds@kiwi.transmeta.com>
Mon, 2 Sep 2002 20:55:23 +0000 (13:55 -0700)
drivers/char/sonypi.h

index 87683ef8209672044eb0dcf865dec141aed2a660..5b64e7c533dd0f86787b1661f8f209381f23fd85 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__ */