summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-27 04:43:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-27 04:43:45 +0000
commit67b6893ec98ba6915b7d644fe1214e2048656b55 (patch)
treecc2ee0784189fc96131547dd8e9566b456ec7b1c
parent3b20b2c1af5d5a8bd60299014ff0488e2638aad9 (diff)
downloaddrakx-backup-do-not-use-67b6893ec98ba6915b7d644fe1214e2048656b55.tar
drakx-backup-do-not-use-67b6893ec98ba6915b7d644fe1214e2048656b55.tar.gz
drakx-backup-do-not-use-67b6893ec98ba6915b7d644fe1214e2048656b55.tar.bz2
drakx-backup-do-not-use-67b6893ec98ba6915b7d644fe1214e2048656b55.tar.xz
drakx-backup-do-not-use-67b6893ec98ba6915b7d644fe1214e2048656b55.zip
perl_checker compliance
-rw-r--r--perl-install/partition_table/dos.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/dos.pm b/perl-install/partition_table/dos.pm
index ca64d3946..41ff7dfb3 100644
--- a/perl-install/partition_table/dos.pm
+++ b/perl-install/partition_table/dos.pm
@@ -130,7 +130,7 @@ sub geometry_from_edd {
my $geom = { sectors => 0 + cat_("$edd_dir/legacy_sectors_per_track"),
heads => 1 + cat_("$edd_dir/legacy_max_head"),
from_edd => 1 };
- is_geometry_valid_for_the_partition_table($hd, $geom) or return;
+ is_geometry_valid_for_the_partition_table($hd, $geom, 0) or return;
partition_table::raw::compute_nb_cylinders($geom, $hd->{totalsectors});
log::l("geometry_from_edd $hd->{device} $hd->{volume_id}: " . geometry_to_string($geom));