summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-27 10:04:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-27 10:04:01 +0000
commit6a66c03e186fa398c9ebb18c59fea39dc8c3e7f0 (patch)
treea16521899513de4e0f0885bddc0af470882c8c0e /perl-install/diskdrake/hd_gtk.pm
parentdfdf67465048d060f7f86cd70d55cb78b6da15d9 (diff)
downloaddrakx-backup-do-not-use-6a66c03e186fa398c9ebb18c59fea39dc8c3e7f0.tar
drakx-backup-do-not-use-6a66c03e186fa398c9ebb18c59fea39dc8c3e7f0.tar.gz
drakx-backup-do-not-use-6a66c03e186fa398c9ebb18c59fea39dc8c3e7f0.tar.bz2
drakx-backup-do-not-use-6a66c03e186fa398c9ebb18c59fea39dc8c3e7f0.tar.xz
drakx-backup-do-not-use-6a66c03e186fa398c9ebb18c59fea39dc8c3e7f0.zip
- diskdrake
o fix action "Type" on a software raid (eg: dm0)
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 984b32c2b..64a2b9a48 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -339,7 +339,7 @@ sub current_part() {
sub kind2hd {
my ($kind) = @_;
- $kind->{type} =~ /hd|lvm/ ? $kind->{val} : {};
+ $kind->{type} =~ /hd|lvm/ ? $kind->{val} : bless({}, 'partition_table::raw');
}
sub hd2kind {