summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-02-27 09:06:41 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-02-27 09:06:41 +0000
commit76c9ccdc6aa16e923108e221e150c0c7fc43079f (patch)
tree167ff6c50af58e26d8011fa652a3383d0845996d
parent60159d1c8e01f5a89958d3b07348609f945f9a1d (diff)
Fix format string
-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;
}