aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLin Ming <mlin@ss.pku.edu.cn>2012-07-28 21:19:55 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-30 02:18:30 -0400
commit4ea4bf7ebcbacee2f4736d261efb0693e87a34c9 (patch)
tree865493c206fa14af75d0c09abf1787a466d80e0e /net
parent1a0150a93c496986297fc08304ac564213c08942 (diff)
ipv4: fix debug info in tnode_new
It should print size of struct rt_trie_node * allocated instead of size of struct rt_trie_node. Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/fib_trie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 18cbc15b20d..2a6fdc2708c 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -473,7 +473,7 @@ static struct tnode *tnode_new(t_key key, int pos, int bits)
473 } 473 }
474 474
475 pr_debug("AT %p s=%zu %zu\n", tn, sizeof(struct tnode), 475 pr_debug("AT %p s=%zu %zu\n", tn, sizeof(struct tnode),
476 sizeof(struct rt_trie_node) << bits); 476 sizeof(struct rt_trie_node *) << bits);
477 return tn; 477 return tn;
478} 478}
479 479