From 32062c9b0dbd838d6e10332d56d59d6db25147b4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 28 Aug 1999 15:42:07 +0000 Subject: no_comment --- perl-install/partition_table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table.pm') 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}); -- cgit v1.2.1