summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-18 10:32:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-18 10:32:56 +0000
commite31295b058b23831d5ceced25adc058df97704d3 (patch)
treeb21d322d1534d5239ba386ee678a0c23470bea57 /perl-install/partition_table.pm
parentce9f2f3dc52173a581d8a6c2ab41e2911d4a47e6 (diff)
downloaddrakx-e31295b058b23831d5ceced25adc058df97704d3.tar
drakx-e31295b058b23831d5ceced25adc058df97704d3.tar.gz
drakx-e31295b058b23831d5ceced25adc058df97704d3.tar.bz2
drakx-e31295b058b23831d5ceced25adc058df97704d3.tar.xz
drakx-e31295b058b23831d5ceced25adc058df97704d3.zip
rename ->read to ->read_one
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 632085b26..7f309d329 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -245,14 +245,14 @@ sub read_one($$) {
# perl_checker: require partition_table::sun
require "partition_table/$_.pm";
bless $hd, "partition_table::$_";
- ($pt, $info) = $hd->read($sector);
+ ($pt, $info) = $hd->read_one($sector);
log::l("found a $_ partition table on $hd->{file} at sector $sector");
};
$@ or last;
}
} else {
#- keep current blessed object for that, this means it is neccessary to read sector 0 before.
- ($pt, $info) = $hd->read($sector);
+ ($pt, $info) = $hd->read_one($sector);
}
my @extended = $hd->hasExtended ? grep { isExtended($_) } @$pt : ();