summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_fs.c')
-rw-r--r--src/nxt_fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_fs.c b/src/nxt_fs.c
index 788c3ee2..8ea8e186 100644
--- a/src/nxt_fs.c
+++ b/src/nxt_fs.c
@@ -46,7 +46,7 @@ nxt_fs_mkdir_p(const u_char *dir, mode_t mode)
nxt_int_t
-nxt_fs_mkdir_dirname(const u_char *path, mode_t mode)
+nxt_fs_mkdir_p_dirname(const u_char *path, mode_t mode)
{
char *ptr, *dir;
nxt_int_t ret;
@@ -64,7 +64,7 @@ nxt_fs_mkdir_dirname(const u_char *path, mode_t mode)
}
*ptr = '\0';
- ret = nxt_fs_mkdir((const u_char *) dir, mode);
+ ret = nxt_fs_mkdir_p((const u_char *) dir, mode);
out_free:
nxt_free(dir);