]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/bluetooth/rfcomm/sock.c
bluetooth: Fix rfcomm_sock_ioctl() build failure with debugging enabled.
[linux-2.6-omap-h63xx.git] / 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);