summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_cgroup.c')
-rw-r--r--src/nxt_cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_cgroup.c b/src/nxt_cgroup.c
index 2c404acc..79e240f1 100644
--- a/src/nxt_cgroup.c
+++ b/src/nxt_cgroup.c
@@ -34,7 +34,7 @@ nxt_cgroup_proc_add(nxt_task_t *task, nxt_process_t *process)
return NXT_ERROR;
}
- ret = nxt_fs_mkdir_all((const u_char *) cgprocs, 0777);
+ ret = nxt_fs_mkdir_p((const u_char *) cgprocs, 0777);
if (nxt_slow_path(ret == NXT_ERROR)) {
return NXT_ERROR;
}