afs.c: Fix fd number in log output.
[paraslash.git] / 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;
 }