From 554afcb92c4379262f546d630a878a7364d2d07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Tue, 14 Jul 2020 15:51:58 +0200 Subject: [PATCH] Fix invalid passing of non-trivial object through variadic function --- lib/ProxySQL_Admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index fc22812f22..f74079983d 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -8498,7 +8498,7 @@ void ProxySQL_Admin::flush_debug_filters_database_to_runtime(SQLite3DB *db) { std::string query = "SELECT filename, line, funct FROM debug_filters"; admindb->execute_statement(query.c_str(), &error , &cols , &affected_rows , &resultset); if (error) { - proxy_error("Error on %s : %s\n", query, error); + proxy_error("Error on %s : %s\n", query.c_str(), error); assert(0); } else { std::set filters;