diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-25 19:53:02 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-26 00:09:42 +0200 |
commit | 36547e6aaf1efa85b0158b2078df74f273077086 (patch) | |
tree | 5b1cbd5c85be4b48fbcdf422a79b2709f633e8fb /tools/l2cap-tester.c | |
parent | e34d1c0481e1619c0cb92b89e50203c56f479a0f (diff) | |
download | bluez-36547e6aaf1efa85b0158b2078df74f273077086.tar.gz |
tools/l2cap-tester: Fix error message for setsockopt failure
Diffstat (limited to 'tools/l2cap-tester.c')
-rw-r--r-- | tools/l2cap-tester.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index d541f1b7e..fd6c5ea6a 100644 --- a/tools/l2cap-tester.c +++ b/tools/l2cap-tester.c @@ -935,7 +935,7 @@ static int create_l2cap_sock(struct test_data *data, uint16_t psm, if (setsockopt(sk, SOL_BLUETOOTH, BT_SECURITY, &sec, sizeof(sec)) < 0) { err = -errno; - tester_warn("Can't bind socket: %s (%d)", + tester_warn("Can't set security level: %s (%d)", strerror(errno), errno); close(sk); return err; |