summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-05-08 16:59:55 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-05-08 16:59:55 +0000
commite3dede624b3f622fdb176b140e057f98cf26ca2b (patch)
tree29aaab1bddc610764f1ba090070c364f66c1978c /audio/avdtp.c
parent2810e2a6b3d36bf25e8b15fcdb078d2cc252daba (diff)
fixed format string
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 2f2e131e..3c35bfc1 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -2852,13 +2852,13 @@ static GIOChannel *avdtp_server_socket(gboolean master)
addr.l2_psm = htobs(AVDTP_PSM);
if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
- error("AVDTP server bind: %s", strerror(errno), errno);
+ error("AVDTP server bind: %s (%d)", strerror(errno), errno);
close(sock);
return NULL;
}
if (listen(sock, 4) < 0) {
- error("AVDTP server listen: %s", strerror(errno), errno);
+ error("AVDTP server listen: %s (%d)", strerror(errno), errno);
close(sock);
return NULL;
}