From 06bd34b48bdd6d33e3166c3e3a97bf59ec4f72c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Mon, 1 Apr 2024 17:22:13 +0200 Subject: [PATCH] Fix error message format on 'process_discovered_topology' --- lib/MySQL_Monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MySQL_Monitor.cpp b/lib/MySQL_Monitor.cpp index 845b45ffc..2e36901f9 100644 --- a/lib/MySQL_Monitor.cpp +++ b/lib/MySQL_Monitor.cpp @@ -3331,7 +3331,7 @@ void MySQL_Monitor::process_discovered_topology(const std::string& originating_s try { current_discovered_port_int = stoi(s[3]); } catch (...) { - proxy_error("Unable to parse the port value during topology discovery: [%s]. Terminating discovery early.", current_discovered_port_string); + proxy_error("Unable to parse the port value during topology discovery: [%s]. Terminating discovery early.\n", current_discovered_port_string.c_str()); return; }