summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-27 10:34:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-27 10:34:40 +0000
commit41cdcd66418b78b662ab0d80f7b645b4f65a5cc6 (patch)
tree0249d4439e9500633425e7b71724e7a00b80c3c8 /perl-install/partition_table
parent2a364b3c3af7d045690f80031130ceffc0960698 (diff)
downloaddrakx-backup-do-not-use-41cdcd66418b78b662ab0d80f7b645b4f65a5cc6.tar
drakx-backup-do-not-use-41cdcd66418b78b662ab0d80f7b645b4f65a5cc6.tar.gz
drakx-backup-do-not-use-41cdcd66418b78b662ab0d80f7b645b4f65a5cc6.tar.bz2
drakx-backup-do-not-use-41cdcd66418b78b662ab0d80f7b645b4f65a5cc6.tar.xz
drakx-backup-do-not-use-41cdcd66418b78b662ab0d80f7b645b4f65a5cc6.zip
fix typos
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r--perl-install/partition_table/lvm_PV.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/partition_table/lvm_PV.pm b/perl-install/partition_table/lvm_PV.pm
index d7cefc080..b53867d5f 100644
--- a/perl-install/partition_table/lvm_PV.pm
+++ b/perl-install/partition_table/lvm_PV.pm
@@ -18,11 +18,12 @@ use c;
sub read {
- my ($hd, $sector) = @_;
+ my ($hd, $_sector) = @_;
+ require fs::type;
my $t = fs::type::type_subpart_from_magic($hd);
- $t && $t->{pt_type} eq 0x8e or die "bad magic number on disk $hd->{device}";
+ $t && $t->{pt_type} == 0x8e or die "bad magic number on disk $hd->{device}";
[];
}