summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-28 15:42:07 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-28 15:42:07 +0000
commit32062c9b0dbd838d6e10332d56d59d6db25147b4 (patch)
tree282dad31af8b06c978aff2c3b74f8f774dd51e82 /perl-install/partition_table.pm
parent8584153227c6e4caf9d0185eaa790d62a4754455 (diff)
downloaddrakx-backup-do-not-use-32062c9b0dbd838d6e10332d56d59d6db25147b4.tar
drakx-backup-do-not-use-32062c9b0dbd838d6e10332d56d59d6db25147b4.tar.gz
drakx-backup-do-not-use-32062c9b0dbd838d6e10332d56d59d6db25147b4.tar.bz2
drakx-backup-do-not-use-32062c9b0dbd838d6e10332d56d59d6db25147b4.tar.xz
drakx-backup-do-not-use-32062c9b0dbd838d6e10332d56d59d6db25147b4.zip
no_comment
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 2f86e969a..800a65c60 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -196,7 +196,7 @@ sub adjust_main_extended($) {
my ($l, @l) = @{$hd->{extended}};
# the first is a special case, must recompute its real size
- my $start = round_down($l->{normal}{start} - 1, cylinder_size($hd));
+ my $start = round_down($l->{normal}{start} - 1, $hd->{geom}{sectors});
my $end = $l->{normal}{start} + $l->{normal}{size};
foreach (map $_->{normal}, @l) {
$start = min($start, $_->{start});