summaryrefslogtreecommitdiffstats
path: root/src/shared/mount-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/mount-util.c')
-rw-r--r--src/shared/mount-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mount-util.c b/src/shared/mount-util.c
index 0d8a1f68eb..39aa3d3ec8 100644
--- a/src/shared/mount-util.c
+++ b/src/shared/mount-util.c
@@ -542,7 +542,7 @@ int mount_switch_root_full(const char *path, unsigned long mount_propagation_fla
if (mount_propagation_flag == 0)
return 0;
- if (mount(NULL, ".", NULL, mount_propagation_flag | MS_REC, 0) < 0)
+ if (mount(NULL, ".", NULL, mount_propagation_flag | MS_REC, NULL) < 0)
return log_debug_errno(errno, "Failed to turn new rootfs '%s' into %s mount: %m",
mount_propagation_flag_to_string(mount_propagation_flag), path);