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 93e491e4a..701ad1a3d 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -109,8 +109,8 @@ sub write {
output($file,
map {
- my $s = sprintf(<<EOF, $_->{device}, $_->{level}, $_->{'chunk-size'}, int @{$_->{disks}});
-raiddev /dev/%s
+ my $s = sprintf(<<EOF, devices::make($_->{device}), $_->{level}, $_->{'chunk-size'}, int @{$_->{disks}});
+raiddev %s
raid-level %s
chunk-size %s
persistent-superblock 1