summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-09 00:01:53 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-09 00:01:53 -0800
commit6cf1a0f856bcb5423bfb4121b2dfeaa3ba7b1ff2 (patch)
treecc1ea9def5bfbe95a91add565f04b0fd4f08685f
parente42130039c85826567d4e4864f2c7492578576cb (diff)
downloadlinux-6cf1a0f856bcb5423bfb4121b2dfeaa3ba7b1ff2.tar.gz
linux-6cf1a0f856bcb5423bfb4121b2dfeaa3ba7b1ff2.tar.bz2
linux-6cf1a0f856bcb5423bfb4121b2dfeaa3ba7b1ff2.zip
bluetooth: Fix rfcomm_sock_ioctl() build failure with debugging enabled.
It's 'sock' not 'sk'. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/bluetooth/rfcomm/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c
index ad00cbf449cb..ffaa6b02d491 100644
--- a/net/bluetooth/rfcomm/sock.c
+++ b/net/bluetooth/rfcomm/sock.c
@@ -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);