aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
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]);