From 7d545ae15324d844c2f95b3ccf0045179bc39db0 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 3 Jun 2024 12:25:21 +0200 Subject: [PATCH] dnsdist: Fix 'Error creating TCP worker' error message There is a dangling '%' at the end of the format string, which is only a formatting issue because of the way our logger works but is still ugly. --- pdns/dnsdistdist/dnsdist-tcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/dnsdist-tcp.cc b/pdns/dnsdistdist/dnsdist-tcp.cc index 240f4fbf02..b7ca45a6f9 100644 --- a/pdns/dnsdistdist/dnsdist-tcp.cc +++ b/pdns/dnsdistdist/dnsdist-tcp.cc @@ -170,7 +170,7 @@ void TCPClientCollection::addTCPClientThread(std::vector& tcpAccep ++d_numthreads; } catch (const std::exception& e) { - errlog("Error creating TCP worker: %", e.what()); + errlog("Error creating TCP worker: %s", e.what()); } } -- 2.47.2