From: David S. Miller Date: Tue, 9 Dec 2008 08:01:53 +0000 (-0800) Subject: bluetooth: Fix rfcomm_sock_ioctl() build failure with debugging enabled. X-Git-Tag: v3.12-rc1~16879^2~275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cf1a0f856bcb5423bfb4121b2dfeaa3ba7b1ff2;p=kernel%2Fkernel-generic.git bluetooth: Fix rfcomm_sock_ioctl() build failure with debugging enabled. It's 'sock' not 'sk'. Signed-off-by: David S. Miller --- diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index ad00cbf..ffaa6b0 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);