From 306628dc06f09bd3bf43ec1db396ce10571e1584 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 5 Jun 2023 17:27:55 +0200 Subject: [PATCH] Use specifier for sql_giveup, to be safe --- src/manage_sql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage_sql.c b/src/manage_sql.c index 28eda61b9..8e31c2532 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -24229,7 +24229,7 @@ cache_report_counts (report_t report, int override, int min_qod, if (i) { g_string_append_printf (insert, ";"); - ret = sql_giveup (insert->str); + ret = sql_giveup ("%s", insert->str); if (ret) { g_string_free (insert, TRUE);