summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4379bdfad..a33798faf 100644
--- a/perl-install/partition_table_empty.pm
+++ b/perl-install/partition_table_empty.pm
@@ -21,7 +21,7 @@ sub read($$) {
my ($hd, $sector) = @_;
my $tmp;
- my $magic = "\0" x 256;
+ my $magic = "\0" x 512;
local *F; partition_table_raw::openit($hd, *F) or die "failed to open device";
c::lseek_sector(fileno(F), $sector, 0) or die "reading of partition in sector $sector failed";