summaryrefslogtreecommitdiff
path: root/src/shared/mkdir.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-02 19:38:52 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-02 19:45:12 +0200
commit69c2b6be8fc607412a13cd0ea03a629b4965c816 (patch)
tree289fdfa3a597498c99cc3c8cca29f563983471de /src/shared/mkdir.c
parent5b4fb02d890d5c9777e9a6e798e0b8922a8a9fd8 (diff)
mkdir: pass a proper function pointer to mkdir_safe_internal
Diffstat (limited to 'src/shared/mkdir.c')
-rw-r--r--src/shared/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mkdir.c b/src/shared/mkdir.c
index b7e5c6e67b..43c6ea6d4a 100644
--- a/src/shared/mkdir.c
+++ b/src/shared/mkdir.c
@@ -53,7 +53,7 @@ int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkd
}
int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid) {
- return mkdir_safe_internal(path, mode, uid, gid, false);
+ return mkdir_safe_internal(path, mode, uid, gid, mkdir);
}
static int is_dir(const char* path) {