]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix 'Error creating TCP worker' error message 14270/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 Jun 2024 10:25:21 +0000 (12:25 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 Jun 2024 10:25:21 +0000 (12:25 +0200)
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

index 240f4fbf02cc59ea90412a3cb51e0d43a4bf45ab..b7ca45a6f9c291778ec44018c7ec92f334266535 100644 (file)
@@ -170,7 +170,7 @@ void TCPClientCollection::addTCPClientThread(std::vector<ClientState*>& tcpAccep
     ++d_numthreads;
   }
   catch (const std::exception& e) {
-    errlog("Error creating TCP worker: %", e.what());
+    errlog("Error creating TCP worker: %s", e.what());
   }
 }