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 2c762c025..b59b2002b 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -133,7 +133,7 @@ sub make {
sub format_part($$) {
my ($raid, $part) = @_;
make($raid->{raid}, $part) if is($part);
- fs::format_part($part, $_->{toFormatCheck} ? "-c" : ());
+ fs::format_part($part, $part->{toFormatCheck} ? "-c" : ());
if (is($part)) {
$_->{isFormatted} = 1 foreach @{$part->{disks}};
}