summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r--perl-install/partition_table/raw.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm
index ab9fbba08..925ae6562 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -216,11 +216,10 @@ sub clear_existing {
partition_table::will_tell_kernel($hd, del => $_) foreach @parts;
}
-sub zero_MBR_and_dirty { &clear_and_dirty } #- deprecated
-sub clear_and_dirty {
+#- deprecated
+sub zero_MBR_and_dirty {
my ($hd) = @_;
- $hd->clear_existing;
- partition_table::initialize($hd);
+ fsedit::partition_table_clear_and_initialize([], $hd);
}
sub read_primary {