diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-02 19:38:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-02 19:45:12 +0200 |
commit | 69c2b6be8fc607412a13cd0ea03a629b4965c816 (patch) | |
tree | 289fdfa3a597498c99cc3c8cca29f563983471de | |
parent | 5b4fb02d890d5c9777e9a6e798e0b8922a8a9fd8 (diff) |
mkdir: pass a proper function pointer to mkdir_safe_internal
-rw-r--r-- | src/shared/mkdir.c | 2 |
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) { |