summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/worker_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index 618ab6a5c..65d69aeaa 100644
--- a/src/worker_util.c
+++ b/src/worker_util.c
@@ -234,7 +234,7 @@ prepare_worker (struct rspamd_worker *worker, const char *name,
monstartup ((u_long) & _start, (u_long) & etext);
#endif
- gperf_profiler_init (worker->srv->cfg, "worker");
+ gperf_profiler_init (worker->srv->cfg, name);
worker->srv->pid = getpid ();