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.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 82fb4e0db..df2cb6cde 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -13,7 +13,7 @@ use devices;
use modules;
use fs;
-sub max_nb { 31 }
+sub max_nb() { 31 }
sub nb {
my ($nb) = @_;
@@ -174,7 +174,7 @@ sub inactivate_and_dirty {
$part->{notFormatted} = 1; $part->{isFormatted} = 0;
}
-sub active_mds {
+sub active_mds() {
map { if_(/^(md\d+) /, $1) } cat_("/proc/mdstat");
}