diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-05 23:22:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-05 23:22:18 +0000 |
commit | ef311fe2b48ac21837475056cc4d118c8eea20e8 (patch) | |
tree | 7cec87d6e4ef0130ca42301b7a36fb80c0fcb3f3 /perl-install/partition_table.pm | |
parent | 973e9a23561510701896580d05a8393f72c86089 (diff) | |
download | drakx-ef311fe2b48ac21837475056cc4d118c8eea20e8.tar drakx-ef311fe2b48ac21837475056cc4d118c8eea20e8.tar.gz drakx-ef311fe2b48ac21837475056cc4d118c8eea20e8.tar.bz2 drakx-ef311fe2b48ac21837475056cc4d118c8eea20e8.tar.xz drakx-ef311fe2b48ac21837475056cc4d118c8eea20e8.zip |
replace "map $_->{normal}, @l" with "map { $_->{normal} } @l"
(the other form is perl_checker-deprecated)
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index e28bdeefd..e636f8bca 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -401,7 +401,7 @@ sub adjust_main_extended { my $start = round_down($l->{normal}{start} - 1, $hd->{geom}{sectors}); my $end = $l->{normal}{start} + $l->{normal}{size}; my $only_linux = 1; my $has_win_lba = 0; - foreach (map $_->{normal}, $l, @l) { + foreach (map { $_->{normal} } $l, @l) { $start = min($start, $_->{start}); $end = max($end, $_->{start} + $_->{size}); $only_linux &&= isTrueFS($_) || isSwap($_); |