summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-14 20:00:30 -0400
committerLennart Poettering <lennart@poettering.net>2012-08-21 17:19:35 +0200
commit8f0e73f250f4a397ea07d29a339bd7e64d077612 (patch)
tree7e2c29db498f9ad706d36bff595372f7812d9844 /src/core
parent50b3e64e27d1e73b84f96359f9f38dd497cb9b59 (diff)
dev-setup: allow a path prefix for use in chroots
With this adjustment, we can reuse this code elsewhere, such as in nspawn.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index e86a89321e..be11bb8f36 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -398,7 +398,7 @@ int mount_setup(bool loaded_policy) {
/* Create a few default symlinks, which are normally created
* by udevd, but some scripts might need them before we start
* udevd. */
- dev_setup();
+ dev_setup("");
/* Mark the root directory as shared in regards to mount
* propagation. The kernel defaults to "private", but we think