diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-05-08 16:59:55 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-05-08 16:59:55 +0000 |
commit | e3dede624b3f622fdb176b140e057f98cf26ca2b (patch) | |
tree | 29aaab1bddc610764f1ba090070c364f66c1978c /audio/control.c | |
parent | 2810e2a6b3d36bf25e8b15fcdb078d2cc252daba (diff) |
fixed format string
Diffstat (limited to 'audio/control.c')
-rw-r--r-- | audio/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/control.c b/audio/control.c index 1ed7d62f..6007c82b 100644 --- a/audio/control.c +++ b/audio/control.c @@ -328,13 +328,13 @@ static GIOChannel *avctp_server_socket(gboolean master) addr.l2_psm = htobs(AVCTP_PSM); if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { - error("AVCTP server bind: %s", strerror(errno), errno); + error("AVCTP server bind: %s (%d)", strerror(errno), errno); close(sock); return NULL; } if (listen(sock, 4) < 0) { - error("AVCTP server listen: %s", strerror(errno), errno); + error("AVCTP server listen: %s (%d)", strerror(errno), errno); close(sock); return NULL; } |