chiark / gitweb /
nspawn: change filesystem type from "bind" to NULL in mount() syscalls
[elogind.git] / src / core / namespace.c
index f8a2bbc81be95684db654d325b2c25c3cac5993f..718da2384dc21adc294384d26941b7ec7d11713b 100644 (file)
@@ -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;