chiark / gitweb /
man: fix securebits docs
[elogind.git] / src / nspawn.c
index 2c1144a7f5b6f3b9d22f133d1d3cccd7afb7e2a4..8c3cf6bfaaeb4ef491260b9efa6020ef21c577fd 100644 (file)
@@ -37,6 +37,7 @@
 #include <termios.h>
 #include <sys/signalfd.h>
 #include <grp.h>
+#include <linux/fs.h>
 
 #include "log.h"
 #include "util.h"
@@ -166,7 +167,7 @@ static int mount_all(const char *dest) {
                         break;
                 }
 
-                if ((t = path_is_mount_point(where)) < 0) {
+                if ((t = path_is_mount_point(where, false)) < 0) {
                         log_error("Failed to detect whether %s is a mount point: %s", where, strerror(-t));
                         free(where);