summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-03-24 19:31:01 +0000
committerPascal Terjan <pterjan@mageia.org>2012-03-24 19:31:01 +0000
commitc3519d28f91d6df7a2550321eeda4e0a86cd8440 (patch)
tree0f2bb348d3ba5c9bdf8c6535abf0b06d5ee0a408 /perl-install/fs
parenta3c727fb0f0d0af87262df22917a2586e34479b1 (diff)
downloaddrakx-c3519d28f91d6df7a2550321eeda4e0a86cd8440.tar
drakx-c3519d28f91d6df7a2550321eeda4e0a86cd8440.tar.gz
drakx-c3519d28f91d6df7a2550321eeda4e0a86cd8440.tar.bz2
drakx-c3519d28f91d6df7a2550321eeda4e0a86cd8440.tar.xz
drakx-c3519d28f91d6df7a2550321eeda4e0a86cd8440.zip
Fix usage of raid2kind
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 0b464da1c..5131c9a42 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -504,8 +504,7 @@ sub main {
my $mainbox = Gtk2::VBox->new;
my @kinds = map { diskdrake::hd_gtk::hd2kind($_) } sort { $a->{is_removable} <=> $b->{is_removable} } @{ $all_hds->{hds} };
- # FIXME: raid2kind() doesn't take any arg:
- push @kinds, map { diskdrake::hd_gtk::raid2kind($_) } @{$all_hds->{raids}};
+ push @kinds, diskdrake::hd_gtk::raid2kind() if @{$all_hds->{raids}};
push @kinds, map { diskdrake::hd_gtk::lvm2kind($_) } @{$all_hds->{lvms}};
my $hdchoice = Gtk2::HBox->new;