1 diff -up new/fs/davfs/dav_debug.h.orig new/fs/davfs/dav_debug.h
2 --- new/fs/davfs/dav_debug.h.orig 2002-08-09 22:38:28.000000000 +0200
3 +++ new/fs/davfs/dav_debug.h 2002-08-09 22:35:32.000000000 +0200
5 * these are normally enabled.
8 -#define PARANOIA(x...) printk(KERN_NOTICE __FUNCTION__ ": " x)
9 +#define PARANOIA(fmt,args...) printk(KERN_NOTICE "%s: " fmt, __FUNCTION__, args)
11 #define PARANOIA(x...) do { ; } while(0)
14 /* lots of debug messages */
15 #ifdef SMBFS_DEBUG_VERBOSE
16 -#define VERBOSE(x...) printk(KERN_DEBUG __FUNCTION__ ": " x)
17 +#define VERBOSE(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, args)
19 #define VERBOSE(x...) do { ; } while(0)
25 -#define TRACE() printk(KERN_DEBUG __FUNCTION__ "--trace--\n")
26 +#define TRACE() printk(KERN_DEBUG "%s--trace--\n", __FUNCTION__)
28 #define TRACE() do { ; } while(0)
32 -#define DEBUG1(x...) printk(KERN_DEBUG __FUNCTION__ ": " x)
33 +#define DEBUG1(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, args)
35 #define DEBUG1(x...) do { ; } while(0)
39 -#define DEBUG2(x...) printk(KERN_DEBUG __FUNCTION__ ": " x)
40 +#define DEBUG2(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, args)
42 #define DEBUG2(x...) do { ; } while(0)