afs.c: Fix fd number in log output.
authorAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2008 17:57:47 +0000 (18:57 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2008 17:57:47 +0000 (18:57 +0100)
afs.c

diff --git a/afs.c b/afs.c
index 7ff60b1dd6f934e2d7dc6bd95c14c2ab981b53df..6210358c4ef075ed4bb13680028b27f1ec430123 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -639,7 +639,8 @@ static int setup_command_socket_or_die(void)
                close(socket_fd);
                return ret;
        }
-       PARA_INFO_LOG("listening on socket %s (fd %d)\n", socket_name, ret);
+       PARA_INFO_LOG("listening on socket %s (fd %d)\n", socket_name,
+               socket_fd);
        return socket_fd;
 }