* [patch 2/3] dynamic printk - compile fix
@ 2008-04-01 19:50 Jason Baron
0 siblings, 0 replies; only message in thread
From: Jason Baron @ 2008-04-01 19:50 UTC (permalink / raw)
To: linux-kernel
-make pptp_msg_name dependent on CONFIG_DYNAMIC_PRINTK
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
net/netfilter/nf_conntrack_pptp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/nf_conntrack_pptp.c b/net/netfilter/nf_conntrack_pptp.c
index b5cb8e8..2f85295 100644
--- a/net/netfilter/nf_conntrack_pptp.c
+++ b/net/netfilter/nf_conntrack_pptp.c
@@ -65,7 +65,7 @@ void
struct nf_conntrack_expect *exp) __read_mostly;
EXPORT_SYMBOL_GPL(nf_nat_pptp_hook_expectfn);
-#ifdef DEBUG
+#if defined(DEBUG) || defined(CONFIG_DYNAMIC_PRINTK)
/* PptpControlMessageType names */
const char *const pptp_msg_name[] = {
"UNKNOWN_MESSAGE",
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-01 19:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 19:50 [patch 2/3] dynamic printk - compile fix Jason Baron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.