summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r--perl-install/partition_table/gpt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm
index 1ac296946..5bb1b93b6 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -118,7 +118,7 @@ sub read_one {
} elsif (c::get_partition_flag($hd->{file}, $_->{part_number}, 'RAID')) {
$_->{pt_type} = 0xfd;
}
- $part->{fs_type} = 'swap' if $part->{fs_type} eq 'linux-swap(v1)';
+ $_->{fs_type} = 'swap' if $_->{fs_type} eq 'linux-swap(v1)';
@pt[$_->{part_number}-1] = $_;
}