summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorIago López Galeiras <iago@endocode.com>2015-03-31 11:50:29 +0200
committerLennart Poettering <lennart@poettering.net>2015-03-31 15:36:53 +0200
commit4543768d13946e9193b367330cb32ded4d96058a (patch)
tree4b5fcde47827bd6d8929435ee9b0b3d3deeb7ca4 /src/core
parentffd8644641d32abf2b6aac03feea7e7c1eed9348 (diff)
nspawn: change filesystem type from "bind" to NULL in mount() syscalls
Try to keep syscalls as minimal as possible.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index f8a2bbc81b..718da2384d 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -293,7 +293,7 @@ static int mount_kdbus(BindMount *m) {
goto fail;
}
- r = mount(m->path, busnode, "bind", MS_BIND, NULL);
+ r = mount(m->path, busnode, NULL, MS_BIND, NULL);
if (r < 0) {
log_error_errno(errno, "bind mount of %s failed: %m", m->path);
r = -errno;