--- btio/btio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btio/btio.c b/btio/btio.c index 5f91171..15057f6 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; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html