From 4d37bebbb47db98088c70d4d4395ca29cef35f8a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 29 Feb 2000 23:50:14 +0000 Subject: no_comment --- perl-install/partition_table_raw.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table_raw.pm') diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index af73da1d1..b8c30fb86 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -77,7 +77,7 @@ sub get_geometry($) { #- $geom{cylinders} is no good (only a ushort, that means less than 2^16 => at best 512MB) if (my $total = c::total_sectors(fileno F)) { - $geom{cylinders} = $total / $geom{heads} / $geom{sectors}; + $geom{cylinders} = int $total / $geom{heads} / $geom{sectors}; } { geom => \%geom, totalsectors => $geom{heads} * $geom{sectors} * $geom{cylinders} }; -- cgit v1.2.1