summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-10-13 10:27:47 +0000
committerFrancois Pons <fpons@mandriva.com>2000-10-13 10:27:47 +0000
commit4d6f5fb6248f81dfe10da76cf1201cee186a8da2 (patch)
treed534bf2443e4474d2460e6272c0d63e557406821
parent03b3e0b329930fdada20152613851dbbfe82cbd1 (diff)
downloaddrakx-4d6f5fb6248f81dfe10da76cf1201cee186a8da2.tar
drakx-4d6f5fb6248f81dfe10da76cf1201cee186a8da2.tar.gz
drakx-4d6f5fb6248f81dfe10da76cf1201cee186a8da2.tar.bz2
drakx-4d6f5fb6248f81dfe10da76cf1201cee186a8da2.tar.xz
drakx-4d6f5fb6248f81dfe10da76cf1201cee186a8da2.zip
empty partition table as assumed only if the MBR is really composed of only null chars.
-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";