From: Michael Tremer Date: Fri, 5 Apr 2024 12:59:38 +0000 (+0000) Subject: installer: Correctly pass mount flags X-Git-Tag: v2.29-core186~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1415e83a3473e864ce4bd683485e02e8f1326961;p=ipfire-2.x.git installer: Correctly pass mount flags Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- diff --git a/src/installer/hw.c b/src/installer/hw.c index 77c2d546ec..809a448a01 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; }