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;