summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index b30834df2..a2963bcac 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -612,7 +612,7 @@ sub install_lilo ($$) {
my $file2fullname = sub {
my ($file) = @_;
if (arch() =~ /ia64/) {
- (my $part, $file) = fsedit::file2dev($prefix, $fstab, $file);
+ (my $part, $file) = fsedit::file2part($prefix, $fstab, $file);
my %hds = map_index { $_ => "hd$::i" } sort map { $_->{device} } @$hds;
$dev2efi->{$part->{device}} . ":" . $file;
} else {
@@ -752,7 +752,7 @@ sub install_grub {
}
my $bootIsReiser = isReiserfs(fsedit::get_root($fstab, 'boot'));
my $file2grub = sub {
- my ($part, $file) = fsedit::file2dev($prefix, $fstab, $file);
+ my ($part, $file) = fsedit::file2part($prefix, $fstab, $file);
dev2grub($part->{device}, \%dev2bios) . $file;
};
{