summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 0f757f888..e7a5322f0 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -596,7 +596,7 @@ sub mount_part {
} elsif (loopback::carryRootLoopback($part)) {
$mntpoint = "/initrd/loopfs";
}
- my $dev = devices::make($part->{real_device} || $part->{device});
+ my $dev = $part->{real_device} || part2wild_device_name('', $part);
mount($dev, $mntpoint, $part->{fs_type}, $b_rdonly, $part->{options}, $o_wait_message);
rmdir "$mntpoint/lost+found";
}