Browse Source

[Minor] Fix format string

tags/2.6
Vsevolod Stakhov 3 years ago
parent
commit
f0aa0d1c69
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/libserver/worker_util.c

+ 2
- 2
src/libserver/worker_util.c View File

@@ -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]);

Loading…
Cancel
Save