summaryrefslogtreecommitdiffstats
path: root/audio/manager.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/manager.c
parent2810e2a6b3d36bf25e8b15fcdb078d2cc252daba (diff)
fixed format string
Diffstat (limited to 'audio/manager.c')
-rw-r--r--audio/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/manager.c b/audio/manager.c
index f33dc963..bf612bb3 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -1337,13 +1337,13 @@ static GIOChannel *server_socket(uint8_t *channel, gboolean master)
addr.rc_channel = channel ? *channel : 0;
if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
- error("server bind: %s", strerror(errno), errno);
+ error("server bind: %s (%d)", strerror(errno), errno);
close(sock);
return NULL;
}
if (listen(sock, 1) < 0) {
- error("server listen: %s", strerror(errno), errno);
+ error("server listen: %s (%d)", strerror(errno), errno);
close(sock);
return NULL;
}