From 24aaa5c9d680e225b80da988b465d4ec3aa59a19 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 13 Jun 2014 11:34:25 +0200 Subject: [PATCH] btio: Fix typo in error message --- btio/btio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btio/btio.c b/btio/btio.c index 5f9117100..15057f62d 100644 --- a/btio/btio.c +++ b/btio/btio.c @@ -1087,7 +1087,7 @@ parse_opts: if (getsockopt(sock, SOL_BLUETOOTH, BT_SNDMTU, &l2o.omtu, &len) < 0) { - ERROR_FAILED(err, "getsockopt(BT_RCVMTU)", + ERROR_FAILED(err, "getsockopt(BT_SNDMTU)", errno); return FALSE; } -- 2.47.3