summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 55abd868..abb0e1e9 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -851,7 +851,7 @@ static int server_socket(uint8_t *channel)
lm = RFCOMM_LM_SECURE;
if (setsockopt(sock, SOL_RFCOMM, RFCOMM_LM, &lm, sizeof(lm)) < 0) {
- error("server setsockopt: %s", strerror(errno), errno);
+ error("server setsockopt: %s (%d)", strerror(errno), errno);
close(sock);
return -1;
}