aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-23 14:31:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-23 14:31:29 +0100
commitf0aa0d1c6976acfad3c384a4d1e8f8ab3ca1629c (patch)
tree9d20b135065c76a7811af3dbead77f9d304696fc /src/libserver
parent7b09d5c01a0e34ea014703c33cffab0f51060dca (diff)
downloadrspamd-f0aa0d1c6976acfad3c384a4d1e8f8ab3ca1629c.tar.gz
rspamd-f0aa0d1c6976acfad3c384a4d1e8f8ab3ca1629c.zip
[Minor] Fix format string
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/worker_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index a5e888920..a8ee92ec9 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -1107,11 +1107,11 @@ rspamd_handle_child_fork (struct rspamd_worker *wrk,
if (cf->bind_conf) {
msg_info_main ("starting %s process %P (%d); listen on: %s",
cf->worker->name,
- getpid (), index, cf->bind_conf->bind_line);
+ getpid (), wrk->index, cf->bind_conf->bind_line);
}
else {
msg_info_main ("starting %s process %P (%d)", cf->worker->name,
- getpid (), index);
+ getpid (), wrk->index);
}
/* Close parent part of socketpair */
close (wrk->control_pipe[0]);