From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date: Thu, 16 Jun 2011 15:16:37 +0000 (+0200)
Subject: netfilter: ip_tables: fix compile with debug
X-Git-Tag: firefly_0821_release~3680^2~4716^2~33^2~5
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63f6fe92c6b3cbf4c0bbbea4b31fdd3d68e21e4d;p=firefly-linux-kernel-4.4.55.git

netfilter: ip_tables: fix compile with debug

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Patrick McHardy <kaber@trash.net>
---

diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 764743843503..24e556e83a3b 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -566,7 +566,7 @@ check_entry(const struct ipt_entry *e, const char *name)
 	const struct xt_entry_target *t;
 
 	if (!ip_checkentry(&e->ip)) {
-		duprintf("ip check failed %p %s.\n", e, par->match->name);
+		duprintf("ip check failed %p %s.\n", e, name);
 		return -EINVAL;
 	}