summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
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}};