From 67579079e094fd003ad31ff6b0e891c338e00c87 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 27 Mar 2009 00:00:44 +0100 Subject: [PATCH] layer: block use of DEBUGP As per "Writing Netfilter Modules" e-book 20090326 section 4.8, one should use pr_debug instead. --- extensions/compat_xtables.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/compat_xtables.h b/extensions/compat_xtables.h index 8456550..2a75d62 100644 --- a/extensions/compat_xtables.h +++ b/extensions/compat_xtables.h @@ -6,6 +6,8 @@ #include "compat_skbuff.h" #include "compat_xtnu.h" +#define DEBUGP Use__pr_debug__instead + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 17) # warning Kernels below 2.6.17 not supported. #endif