From 2307a2b9eab7d1730e39f021c3f456e05fe48449 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Thu, 3 Feb 2011 15:04:57 +0100 Subject: [PATCH] uuidd: increase connection backlog size to SOMAXCONN Signed-off-by: Petr Uzel --- misc-utils/uuidd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c index 825a38ad8..1315a7eb8 100644 --- a/misc-utils/uuidd.c +++ b/misc-utils/uuidd.c @@ -281,7 +281,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path, } (void) umask(save_umask); - if (listen(s, 5) < 0) { + if (listen(s, SOMAXCONN) < 0) { if (!quiet) fprintf(stderr, _("Couldn't listen on unix " "socket %s: %s\n"), socket_path,