]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
installer: Correctly pass mount flags
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Apr 2024 12:59:38 +0000 (12:59 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 19 Apr 2024 06:04:48 +0000 (06:04 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/installer/hw.c

index 77c2d546ec136ba18cf1779a1a7a29fd375cea22..809a448a017189372bb6a34b8a2fb0998f4da868 100644 (file)
@@ -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;
        }