diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-17 17:22:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-17 17:22:00 +0000 |
commit | 1799efb03565ab9c12bf0a7982f37a7413d47aba (patch) | |
tree | 834aedaa8843e95afbfa44e97079a6a0d7d569a8 /perl-install/partition_table_raw.pm | |
parent | 39be5039adbec64a10ae686c35bc93ec5f3fca60 (diff) | |
download | drakx-1799efb03565ab9c12bf0a7982f37a7413d47aba.tar drakx-1799efb03565ab9c12bf0a7982f37a7413d47aba.tar.gz drakx-1799efb03565ab9c12bf0a7982f37a7413d47aba.tar.bz2 drakx-1799efb03565ab9c12bf0a7982f37a7413d47aba.tar.xz drakx-1799efb03565ab9c12bf0a7982f37a7413d47aba.zip |
no_comment
Diffstat (limited to 'perl-install/partition_table_raw.pm')
-rw-r--r-- | perl-install/partition_table_raw.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index 35287e965..39277bf39 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -55,7 +55,7 @@ sub kernel_read($) { sub zero_MBR($) { my ($hd) = @_; # unless (ref($hd) =~ /partition_table/) { - my $type = arch() eq "alpha" ? "bsd" : "dos"; + my $type = arch() eq "alpha" ? "bsd" : arch() eq "sparc" ? "sun" : "dos"; bless $hd, "partition_table_$type"; # } $hd->{isDirty} = $hd->{needKernelReread} = 1; |