netfilter: ip_tables: fix compile with debug
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Thu, 16 Jun 2011 15:16:37 +0000 (17:16 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 16 Jun 2011 15:16:37 +0000 (17:16 +0200)
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ip_tables.c

index 7647438..24e556e 100644 (file)
@@ -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;
        }