bluetooth: Fix rfcomm_sock_ioctl() build failure with debugging enabled.
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2008 08:01:53 +0000 (00:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2008 08:01:53 +0000 (00:01 -0800)
It's 'sock' not 'sk'.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/rfcomm/sock.c

index ad00cbf449cb609f3c61cef9a94accae81454d2f..ffaa6b02d491285758ccf96bdaa62eba89031d85 100644 (file)
@@ -792,7 +792,7 @@ static int rfcomm_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned lon
 #endif
        int err;
 
-       BT_DBG("sk %p cmd %x arg %lx", sk, cmd, arg);
+       BT_DBG("sk %p cmd %x arg %lx", sock, cmd, arg);
 
        err = bt_sock_ioctl(sock, cmd, arg);