Skip to contentSkip to conversation

dynamic printk - compile fix

PATCH In review Jason Baron 1 participant 1 message Apr 1, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 dynamic printk - compile fix

-make pptp_msg_name dependent on CONFIG_DYNAMIC_PRINTK

---

 net/netfilter/nf_conntrack_pptp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/netfilter/nf_conntrack_pptp.c +1 -1
index b5cb8e8..2f85295 100644
@@ -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",