summaryrefslogtreecommitdiff
path: root/tools/btiotest.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-05-17 11:28:11 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-17 11:28:11 +0300
commite676814d6082ab1cac1ba1712b1a4e112ca881f1 (patch)
treea9e346ffa82cf84808ba099ffec3c44c9466ddab /tools/btiotest.c
parent3b164e92b892477aab26c2e15476016bd3958c84 (diff)
downloadbluez-e676814d6082ab1cac1ba1712b1a4e112ca881f1.tar.gz
btiotest: Fix wrong variable in log message
Diffstat (limited to 'tools/btiotest.c')
-rw-r--r--tools/btiotest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/btiotest.c b/tools/btiotest.c
index 95dd7b741..2c77fb3ec 100644
--- a/tools/btiotest.c
+++ b/tools/btiotest.c
@@ -323,7 +323,7 @@ static void l2cap_listen(const char *src, uint8_t addr_type, uint16_t psm,
if (cid)
printf("Listening on L2CAP CID 0x%04x (%u)\n", cid, cid);
else
- printf("Listening on L2CAP PSM 0x%04x (%u)\n", psm, cid);
+ printf("Listening on L2CAP PSM 0x%04x (%u)\n", psm, psm);
data = io_data_new(NULL, reject, disconn, accept);