aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-11-04 21:11:33 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-11-04 21:11:33 +0000
commitb2f0dd775c6d3f78234c5e2d1118eac21490bbd5 (patch)
treeaee4eb0059e2a9b05b3ed39c24e88bcde20bb0b4 /src/rspamd.c
parentf85dfb2f0b80ea030e7106534d1d00b29311ce80 (diff)
downloadrspamd-b2f0dd775c6d3f78234c5e2d1118eac21490bbd5.tar.gz
rspamd-b2f0dd775c6d3f78234c5e2d1118eac21490bbd5.zip
[Minor] Get rid of some compiler warnings
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 17c5fc493..464dff9f9 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1122,7 +1122,7 @@ rspamd_stat_update_handler (struct ev_loop *loop, ev_timer *w, int revents)
(new_spam - old_spam) / w->repeat,
(new_ham - old_ham) / w->repeat,
cnt > 0 ? sum / cnt : 0);
- setproctitle (proctitle);
+ setproctitle ("%s", proctitle);
}
memcpy (&old_stat, &cur_stat, sizeof (cur_stat));