Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 950ec4453099b5125884e99014f11757 > files > 102

kernel24-2.4.34-1.src.rpm

diff -up new/fs/davfs/dav_debug.h.orig new/fs/davfs/dav_debug.h
--- new/fs/davfs/dav_debug.h.orig	2002-08-09 22:38:28.000000000 +0200
+++ new/fs/davfs/dav_debug.h	2002-08-09 22:35:32.000000000 +0200
@@ -11,14 +11,14 @@
  * these are normally enabled.
  */
 #ifdef SMBFS_PARANOIA
-#define PARANOIA(x...) printk(KERN_NOTICE __FUNCTION__ ": " x)
+#define PARANOIA(fmt,args...) printk(KERN_NOTICE "%s: " fmt, __FUNCTION__, args)
 #else
 #define PARANOIA(x...) do { ; } while(0)
 #endif
 
 /* lots of debug messages */
 #ifdef SMBFS_DEBUG_VERBOSE
-#define VERBOSE(x...) printk(KERN_DEBUG __FUNCTION__ ": " x)
+#define VERBOSE(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, args)
 #else
 #define VERBOSE(x...) do { ; } while(0)
 #endif
@@ -28,19 +28,19 @@
  * too common name.
  */
 #ifdef SMBFS_TRACE
-#define TRACE() printk(KERN_DEBUG __FUNCTION__ "--trace--\n")
+#define TRACE() printk(KERN_DEBUG "%s--trace--\n", __FUNCTION__)
 #else
 #define TRACE() do { ; } while(0)
 #endif
 
 #ifdef SMBFS_DEBUG
-#define DEBUG1(x...) printk(KERN_DEBUG __FUNCTION__ ": " x)
+#define DEBUG1(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, args)
 #else
 #define DEBUG1(x...) do { ; } while(0)
 #endif
 
 #ifdef SMBFS_DEBUG2
-#define DEBUG2(x...) printk(KERN_DEBUG __FUNCTION__ ": " x)
+#define DEBUG2(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__, args)
 #else
 #define DEBUG2(x...) do { ; } while(0)
 #endif