diff options
author | Joe Perches <joe@perches.com> | 2012-05-15 10:11:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-16 01:01:03 -0400 |
commit | 91df42bedccb919902c7cf7eb876c982ae7f1b1d (patch) | |
tree | a941627c25c941b8f26d20d2c214ff2004eae356 /net/ipv4/inet_timewait_sock.c | |
parent | f32138319ca6541e65f95f8e17c9cc88ac1baf94 (diff) |
net: ipv4 and ipv6: Convert printk(KERN_DEBUG to pr_debug
Use the current debugging style and enable dynamic_debug.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_timewait_sock.c')
-rw-r--r-- | net/ipv4/inet_timewait_sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index 543ef6225458..2784db3155fb 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timewait_sock.c | |||
@@ -89,8 +89,8 @@ static void __inet_twsk_kill(struct inet_timewait_sock *tw, | |||
89 | 89 | ||
90 | #ifdef SOCK_REFCNT_DEBUG | 90 | #ifdef SOCK_REFCNT_DEBUG |
91 | if (atomic_read(&tw->tw_refcnt) != 1) { | 91 | if (atomic_read(&tw->tw_refcnt) != 1) { |
92 | printk(KERN_DEBUG "%s timewait_sock %p refcnt=%d\n", | 92 | pr_debug("%s timewait_sock %p refcnt=%d\n", |
93 | tw->tw_prot->name, tw, atomic_read(&tw->tw_refcnt)); | 93 | tw->tw_prot->name, tw, atomic_read(&tw->tw_refcnt)); |
94 | } | 94 | } |
95 | #endif | 95 | #endif |
96 | while (refcnt) { | 96 | while (refcnt) { |