summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r--perl-install/lvm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 0770bf2b9..c660e4d95 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -92,10 +92,10 @@ sub get_lvs {
[
map {
my $device = "$lvm->{VG_name}/$_";
- my $type = -e "/dev/$device" && fsedit::typeOfPart($device);
+ my $pt_type = -e "/dev/$device" && fsedit::typeOfPart($device);
{ device => $device,
- type => $type || 0x83,
+ type => $pt_type || 0x83,
size => get_lv_size($device) }
} @l
];