Merge git://git.infradead.org/~dedekind/ubi-2.6
[linux-2.6-microblaze.git] / drivers / mtd / ubi / debug.h
index 718740a..8ea99d8 100644 (file)
@@ -41,7 +41,7 @@
 /* Generic debugging message */
 #define dbg_msg(fmt, ...)                                    \
        printk(KERN_DEBUG "UBI DBG (pid %d): %s: " fmt "\n", \
-              current->pid, __FUNCTION__, ##__VA_ARGS__)
+              current->pid, __func__, ##__VA_ARGS__)
 
 #define ubi_dbg_dump_stack() dump_stack()