summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-10 07:51:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-10 07:51:16 +0000
commitcd53e71a8b1fd6fb1eab6c39f56be381abcc7ba2 (patch)
treefdbb9cd33b019a9477d22c9ddf077f43b4036135 /perl-install/fs
parenta655b0e1e07efb3fd057f726b85887908d970ba6 (diff)
downloaddrakx-cd53e71a8b1fd6fb1eab6c39f56be381abcc7ba2.tar
drakx-cd53e71a8b1fd6fb1eab6c39f56be381abcc7ba2.tar.gz
drakx-cd53e71a8b1fd6fb1eab6c39f56be381abcc7ba2.tar.bz2
drakx-cd53e71a8b1fd6fb1eab6c39f56be381abcc7ba2.tar.xz
drakx-cd53e71a8b1fd6fb1eab6c39f56be381abcc7ba2.zip
make it work
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/proc_partitions.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/fs/proc_partitions.pm b/perl-install/fs/proc_partitions.pm
index 3e1e31b32..17484eaa8 100644
--- a/perl-install/fs/proc_partitions.pm
+++ b/perl-install/fs/proc_partitions.pm
@@ -58,7 +58,7 @@ sub compare {
my ($hd) = @_;
my @l1 = partition_table::get_normal_parts($hd);
- my @l2 = grep { $_->{rootDevice} eq $hd->{device} } read([$hd]);
+ my @l2 = grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]);
#- /proc/partitions includes partition with type "empty" and a non-null size
#- so add them for comparison
@@ -78,5 +78,7 @@ sub use_ {
partition_table::raw::zero_MBR($hd);
$hd->{readonly} = 1;
$hd->{getting_rid_of_readonly_allowed} = 1;
- $hd->{primary} = { normal => [ grep { $_->{rootDevice} eq $hd->{device} } read([$hd]) ] };
+ $hd->{primary} = { normal => [ grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]) ] };
}
+
+1;