]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
net: af_unix should use KERN_INFO instead of KERN_DEBUG
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 19 Nov 2008 23:48:09 +0000 (15:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Nov 2008 23:48:09 +0000 (15:48 -0800)
As spotted by Joe Perches, we should use KERN_INFO in unix_sock_destructor()

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c

index ebc4a9a4b1f75ad166bcbe98130e2fe4763eb076..e1ca8f744ca5d1fe457d043dcf72a53f6aa98ccb 100644 (file)
@@ -353,7 +353,7 @@ static void unix_sock_destructor(struct sock *sk)
        WARN_ON(!sk_unhashed(sk));
        WARN_ON(sk->sk_socket);
        if (!sock_flag(sk, SOCK_DEAD)) {
-               printk(KERN_DEBUG "Attempt to release alive unix socket: %p\n", sk);
+               printk(KERN_INFO "Attempt to release alive unix socket: %p\n", sk);
                return;
        }