summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/empty.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table/empty.pm')
-rw-r--r--perl-install/partition_table/empty.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/empty.pm b/perl-install/partition_table/empty.pm
index fb2d8ada3..fe4550f47 100644
--- a/perl-install/partition_table/empty.pm
+++ b/perl-install/partition_table/empty.pm
@@ -28,7 +28,7 @@ sub read_one {
sysread $F, $tmp, 1024 or die "error reading magic number on disk $hd->{device}";
$tmp eq substr($tmp, 0, 1) x 1024 or die "bad magic number on disk $hd->{device}";
- partition_table::raw::clear($hd);
+ partition_table::initialize($hd);
$hd->{primary}{raw}, $hd->{primary}{info};
}