aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-21 15:38:50 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-21 15:38:50 +0000
commitb6eeff716ba8ef4b34b56b5246fa67b31fdaabfc (patch)
tree54a7a13904333a555bb4987f06c3d84ff15a3c70 /src/controller.c
parent1e02b32deb13a96181950e6555bf64b2129f3989 (diff)
downloadrspamd-b6eeff716ba8ef4b34b56b5246fa67b31fdaabfc.tar.gz
rspamd-b6eeff716ba8ef4b34b56b5246fa67b31fdaabfc.zip
[Minor] Fix format string
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}