summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/proc_partitions.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-18 12:22:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-18 12:22:14 +0000
commitf110caf7fb05213848c2d48fc4802b7d6babbed3 (patch)
tree6bb604ad22264f653f0766dfe38421d73d0212d4 /perl-install/fs/proc_partitions.pm
parentb0fb8e21570e7d8f5b874e002e2b6455aa92c7f3 (diff)
downloaddrakx-f110caf7fb05213848c2d48fc4802b7d6babbed3.tar
drakx-f110caf7fb05213848c2d48fc4802b7d6babbed3.tar.gz
drakx-f110caf7fb05213848c2d48fc4802b7d6babbed3.tar.bz2
drakx-f110caf7fb05213848c2d48fc4802b7d6babbed3.tar.xz
drakx-f110caf7fb05213848c2d48fc4802b7d6babbed3.zip
rename ->zero_MBR into ->clear, and ->zero_MBR_and_dirty into ->clear_and_dirty
(old name kept for compatibility)
Diffstat (limited to 'perl-install/fs/proc_partitions.pm')
-rw-r--r--perl-install/fs/proc_partitions.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/proc_partitions.pm b/perl-install/fs/proc_partitions.pm
index b65ff747a..84d686c45 100644
--- a/perl-install/fs/proc_partitions.pm
+++ b/perl-install/fs/proc_partitions.pm
@@ -64,7 +64,7 @@ sub compare {
sub use_ {
my ($hd) = @_;
- partition_table::raw::zero_MBR($hd);
+ partition_table::raw::clear($hd);
$hd->{readonly} = 1;
$hd->{getting_rid_of_readonly_allowed} = 1;
$hd->{primary} = { normal => [ grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]) ] };