summaryrefslogtreecommitdiffstats
path: root/test/scotest.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-12-29 19:32:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-12-29 19:32:16 +0000
commit95cd931b918a07fcf12e48dce9665f3c90ab4130 (patch)
tree3f5f495c54e85cf481b2ff2c5e007d2c23f1c0f2 /test/scotest.c
parent9e6e37723b8d8798ed9ba58734fd3022fdf49dc2 (diff)
Fix typos
Diffstat (limited to 'test/scotest.c')
-rw-r--r--test/scotest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scotest.c b/test/scotest.c
index 0c1ec130..eddd79af 100644
--- a/test/scotest.c
+++ b/test/scotest.c
@@ -101,7 +101,7 @@ static int do_connect(char *svr)
memset(&conn, 0, sizeof(conn));
opt = sizeof(conn);
- if (getsockopt(s, SOL_L2CAP, SCO_CONNINFO, &conn, &opt) < 0) {
+ if (getsockopt(s, SOL_SCO, SCO_CONNINFO, &conn, &opt) < 0) {
syslog(LOG_ERR, "Can't get SCO connection information. %s(%d)", strerror(errno), errno);
close(s);
return -1;