mirror of
https://git.proxmox.com/git/systemd
synced 2026-02-03 18:38:14 +00:00
This commit was created using the following commands and then fixing up debian/patches/series manually. $ git config diff.renames false $ git rebase --onto debian/208-5 v208 stable/v208-stable $ git checkout -b patch-queue/experimental HEAD $ gbp-pq export --no-patch-numbers $ git add --ignore-removal debian/patches/
22 lines
721 B
Diff
22 lines
721 B
Diff
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Wed, 2 Oct 2013 19:38:52 +0200
|
|
Subject: mkdir: pass a proper function pointer to mkdir_safe_internal
|
|
|
|
---
|
|
src/shared/mkdir.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/shared/mkdir.c b/src/shared/mkdir.c
|
|
index b7e5c6e..43c6ea6 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) {
|