From e3dede624b3f622fdb176b140e057f98cf26ca2b Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Thu, 8 May 2008 16:59:55 +0000 Subject: fixed format string --- audio/manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/manager.c') 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; } -- cgit