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 7ff60b1..6210358 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;
 }