Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- 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 7868cbb23..1c4adc24b 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -1044,7 +1044,7 @@ int hw_mount_btrfs_subvolumes(const char* source) { // Loop through the remain array of known subvolumes. for ( int i = 1; i < LEN(btrfs_subvolumes); i++ ) { snprintf(path, sizeof(path), "%s%s", DESTINATION_MOUNT_PATH, btrfs_subvolumes[i][1]); - snprintf(options, sizeof(options), "subvol=%s,", btrfs_subvolumes[i][0], BTRFS_MOUNT_OPTIONS); + snprintf(options, sizeof(options), "subvol=%s,%s", btrfs_subvolumes[i][0], BTRFS_MOUNT_OPTIONS);
// Create the directory. r = hw_mkdir(path, S_IRWXU|S_IRWXG|S_IRWXO);