summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-05 12:26:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-05 12:26:59 +0000
commit96279a0b9750c1d757b48c40cd1f17b5a60ea014 (patch)
treecd560f727a90ded832cfd5480f248848006f73d0 /perl-install/raid.pm
parent3812fd80c231dba41da389d575547492c994552c (diff)
downloaddrakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar
drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.gz
drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.bz2
drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.xz
drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.zip
use each_index instead of map_index when the return value is not used
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 048de72f1..39c843ed9 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -115,7 +115,7 @@ chunk-size $_->{'chunk-size'}
persistent-superblock 1
EOF
print F "nr-raid-disks ", int @{$_->{disks}};
- map_index {
+ each_index {
print F " device ", devices::make($_->{device});
print F " raid-disk $::i";
} @{$_->{disks}};