patch-2.4.19 linux-2.4.19/fs/bfs/bfs_defs.h

Next file: linux-2.4.19/fs/binfmt_elf.c
Previous file: linux-2.4.19/fs/bad_inode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/fs/bfs/bfs_defs.h linux-2.4.19/fs/bfs/bfs_defs.h
@@ -14,4 +14,7 @@
 #define iu_eblock	u.bfs_i.i_eblock
 
 #define printf(format, args...) \
-	printk(KERN_ERR "BFS-fs: " __FUNCTION__ "(): " format, ## args)
+do { \
+	printk(KERN_ERR "BFS-fs: %s(): ", __FUNCTION__); \
+	printk(format, args); \
+} while (0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)