mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
mkdir: pass a proper function pointer to mkdir_safe_internal
This commit is contained in:
parent
5b4fb02d89
commit
69c2b6be8f
Notes:
Lennart Poettering
2013-10-04 17:11:46 +02:00
Backport: bugfix
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user