From 5dc2835bfbf1f53ad51ba540f4423c22cc94b26c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 25 Jul 1999 21:30:14 +0000 Subject: no_comment --- perl-install/fsedit.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 7406211e7..5269ea25e 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -39,8 +39,9 @@ sub hds($$) { my $file = devices::make($_->{device}); my $hd = partition_table_raw::get_geometry($file) or die _("An error occurred while getting the geometry of block device %s: %s", $file, "$!"); + $hd = { (%$_, %$hd) }; $hd->{file} = $file; - $hd->{prefix} = $hd->{device} = $_->{device}; + $hd->{prefix} = $hd->{device}; # for RAID arrays of format c0d0p1 $hd->{prefix} .= "p" if $hd->{prefix} =~ m,(rd|ida)/,; -- cgit v1.2.1