summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount-setup.c b/mount-setup.c
index a0eb75ca6a..f3041941ac 100644
--- a/mount-setup.c
+++ b/mount-setup.c
@@ -90,7 +90,7 @@ static int mount_one(const char *t[]) {
/* The access mode here doesn't really matter too much, since
* the mounted file system will take precedence anyway. */
- mkdir(t[MOUNT_WHERE], 0755);
+ mkdir_p(t[MOUNT_WHERE], 0755);
log_debug("Mounting %s to %s of type %s with options %s.",
t[MOUNT_WHAT],