From e70f8ebd34edade24df442152f52b361abaf4309 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 15 Jun 2026 12:48:59 +0200 Subject: [PATCH] servers: fix error message if unix socket path is not a socket Follow-up to 99fb36797a3f0b64ad20fcb8b83026875640f8e0 Cherry-picked from #22010 Closes #22020 --- tests/server/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/server/util.c b/tests/server/util.c index 000a806820..a1c3dd87de 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -706,7 +706,7 @@ int bind_unix_socket(curl_socket_t sock, const char *unix_socket, } #ifdef S_IFSOCK if((statbuf.st_mode & S_IFSOCK) != S_IFSOCK) { - logmsg("Error binding socket, failed to stat %s", unix_socket); + logmsg("Error binding socket, %s is not a socket", unix_socket); return -1; } #endif