From b6eeff716ba8ef4b34b56b5246fa67b31fdaabfc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 21 Nov 2023 15:38:50 +0000 Subject: [PATCH] [Minor] Fix format string --- src/controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.c b/src/controller.c index eb58db211..339cf1184 100644 --- a/src/controller.c +++ b/src/controller.c @@ -3066,7 +3066,7 @@ rspamd_controller_metrics_fin_task(void *ud) g_hash_table_iter_init(&it, fuzzy_elts); while (g_hash_table_iter_next(&it, NULL, (gpointer *) &entry)) { if (entry->name) { - rspamd_printf_fstring(&output, "rspamd_fuzzy_stat{storage=\"%s\"} %ud\n", + rspamd_printf_fstring(&output, "rspamd_fuzzy_stat{storage=\"%s\"} %uL\n", entry->name, entry->fuzzy_cnt); } } -- 2.39.5