Browse Source

bluetooth: Fix rfcomm_sock_ioctl() build failure with debugging enabled.

It's 'sock' not 'sk'.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 years ago
parent
commit
6cf1a0f856
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/bluetooth/rfcomm/sock.c

+ 1 - 1
net/bluetooth/rfcomm/sock.c

@@ -792,7 +792,7 @@ static int rfcomm_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned lon
 #endif
 #endif
 	int err;
 	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);
 	err = bt_sock_ioctl(sock, cmd, arg);