diff options
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index e9846da77424..0c220a416626 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #define RT6_DEBUG 2 | 41 | #define RT6_DEBUG 2 |
42 | 42 | ||
43 | #if RT6_DEBUG >= 3 | 43 | #if RT6_DEBUG >= 3 |
44 | #define RT6_TRACE(x...) printk(KERN_DEBUG x) | 44 | #define RT6_TRACE(x...) pr_debug(x) |
45 | #else | 45 | #else |
46 | #define RT6_TRACE(x...) do { ; } while (0) | 46 | #define RT6_TRACE(x...) do { ; } while (0) |
47 | #endif | 47 | #endif |
@@ -1420,7 +1420,8 @@ static int fib6_clean_node(struct fib6_walker_t *w) | |||
1420 | res = fib6_del(rt, &info); | 1420 | res = fib6_del(rt, &info); |
1421 | if (res) { | 1421 | if (res) { |
1422 | #if RT6_DEBUG >= 2 | 1422 | #if RT6_DEBUG >= 2 |
1423 | printk(KERN_DEBUG "fib6_clean_node: del failed: rt=%p@%p err=%d\n", rt, rt->rt6i_node, res); | 1423 | pr_debug("%s: del failed: rt=%p@%p err=%d\n", |
1424 | __func__, rt, rt->rt6i_node, res); | ||
1424 | #endif | 1425 | #endif |
1425 | continue; | 1426 | continue; |
1426 | } | 1427 | } |