doc: abstract + architecture
[p2p-kernel-protocol.git] / module / p2pkp_debug.h
index 2b8e944..28de06d 100644 (file)
@@ -5,7 +5,7 @@
 
 #ifndef P2PKP_DEBUG
  /* uncomment to turn debugging off */
#define P2PKP_DEBUG   yes
//#define P2PKP_DEBUG yes
 #endif
 
 #ifdef P2PKP_DEBUG
@@ -14,7 +14,7 @@
                printk(KERN_DEBUG "[%s:%d] " format "\n", __func__, __LINE__, ## args); \
        } while (0)
 #else
-#define LOG(s)                                 \
+#define DEBUG(format, args...)                                 \
        do {} while (0)
 #endif