From 1415e83a3473e864ce4bd683485e02e8f1326961 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 5 Apr 2024 12:59:38 +0000 Subject: [PATCH] installer: Correctly pass mount flags Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- src/installer/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index 77c2d546e..809a448a0 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -1010,7 +1010,7 @@ static int hw_mount_btrfs_subvolumes(const char* source) { fprintf(flog, "Mounting subvolume %s to %s\n", subvolume->name, subvolume->mount_path); // Try to mount the subvolume. - r = mount(source, path, "btrfs", NULL, options); + r = mount(source, path, "btrfs", 0, options); if (r) return r; } -- 2.39.5