diff options
Diffstat (limited to 'perl-install/partition_table_empty.pm')
-rw-r--r-- | perl-install/partition_table_empty.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table_empty.pm b/perl-install/partition_table_empty.pm index d59cea52b..a33798faf 100644 --- a/perl-install/partition_table_empty.pm +++ b/perl-install/partition_table_empty.pm @@ -1,4 +1,4 @@ -package partition_table_empty; +package partition_table_empty; # $Id$ #- this is a mainly dummy partition table. If we find it's empty, we just call - #- zero_MBR which will take care of bless'ing us to the partition table type best @@ -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"; |