From: Remi Gacogne Date: Mon, 3 Jun 2024 10:25:21 +0000 (+0200) Subject: dnsdist: Fix 'Error creating TCP worker' error message X-Git-Tag: rec-5.2.0-alpha0~33^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d545ae15324d844c2f95b3ccf0045179bc39db0;p=thirdparty%2Fpdns.git 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. --- 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()); } }