aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-13 16:03:36 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-13 16:03:36 +0000
commit3e29be1422ae7e5303e2fda47ff93d1a458a9f75 (patch)
treef3b44483ef019cc3eea2562174c92ba592494288 /src/libserver/worker_util.c
parentb6612604aa2b06ef7b12c2aaf24a4175dcea67e5 (diff)
downloadrspamd-3e29be1422ae7e5303e2fda47ff93d1a458a9f75.tar.gz
rspamd-3e29be1422ae7e5303e2fda47ff93d1a458a9f75.zip
[Fix] Another try to fix setproctitle
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r--src/libserver/worker_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index 8edfe0cdb..74a3cf887 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -1120,11 +1120,11 @@ rspamd_handle_child_fork(struct rspamd_worker *wrk,
setrlimit(RLIMIT_STACK, &rlim);
if (cf->bind_conf) {
- setproctitle("%s process (%s)", cf->worker->name,
- cf->bind_conf->bind_line);
+ rspamd_setproctitle("%s process (%s)", cf->worker->name,
+ cf->bind_conf->bind_line);
}
else {
- setproctitle("%s process", cf->worker->name);
+ rspamd_setproctitle("%s process", cf->worker->name);
}
if (rspamd_main->pfh) {