]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix format string
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 21 Nov 2023 15:38:50 +0000 (15:38 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 21 Nov 2023 15:38:50 +0000 (15:38 +0000)
src/controller.c

index eb58db2112a6e9c36d06c6c910e83b263f32bd59..339cf1184d9fd4ee7019c42dc5f426c80d8655d7 100644 (file)
@@ -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);
                        }
                }