summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-02-09 13:09:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-02-09 13:09:32 +0000
commit8bc8305d2977416baaf3dbaa37a4dae4a911ea2f (patch)
tree3d3e1aae544e5e746e573040492d6d3854414b4f /perl-install/partition_table.pm
parent251ee11862dac86408af70c72282765d334bfda4 (diff)
downloaddrakx-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar
drakx-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar.gz
drakx-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar.bz2
drakx-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.tar.xz
drakx-8bc8305d2977416baaf3dbaa37a4dae4a911ea2f.zip
no_comment
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 151353989..16c8a6b0c 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -224,8 +224,8 @@ sub verifyParts_ {
foreach (@_) {
next if !$i || !$_ || $i == $_ || isWholedisk($i); #- avoid testing twice on whole disk for simplicity :-)
isWholedisk($_) ?
- verifyInside($i, $_) || cdie sprintf "partitions sector #$i->{start} (%dMB) is not inside whole disk (%dMB)!", $i->{size} >> 9, $_->{size} >> 9:
- verifyNotOverlap($i, $_) || cdie sprintf "partitions sector #$i->{start} (%dMB) and sector #$_->{start} (%dMB) are overlapping!", $i->{size} >> 9, $_->{size} >> 9;
+ verifyInside($i, $_) || cdie sprintf "partitions sector #$i->{start} (%dMB) is not inside whole disk (%dMB)!", $i->{size} >> 11, $_->{size} >> 11:
+ verifyNotOverlap($i, $_) || cdie sprintf "partitions sector #$i->{start} (%dMB) and sector #$_->{start} (%dMB) are overlapping!", $i->{size} >> 11, $_->{size} >> 11;
}
}
}