summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_raw.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-02 14:02:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-02 14:02:25 +0000
commitd3c77792d4458c82943d4819e6080344151653a1 (patch)
tree7e61cc1150716ce75b2640d1b7ec92d0ad4669ba /perl-install/partition_table_raw.pm
parent83c03c58a778b7446c222499453ba8fb307ff755 (diff)
downloaddrakx-backup-do-not-use-d3c77792d4458c82943d4819e6080344151653a1.tar
drakx-backup-do-not-use-d3c77792d4458c82943d4819e6080344151653a1.tar.gz
drakx-backup-do-not-use-d3c77792d4458c82943d4819e6080344151653a1.tar.bz2
drakx-backup-do-not-use-d3c77792d4458c82943d4819e6080344151653a1.tar.xz
drakx-backup-do-not-use-d3c77792d4458c82943d4819e6080344151653a1.zip
using the new formatXiB
Diffstat (limited to 'perl-install/partition_table_raw.pm')
-rw-r--r--perl-install/partition_table_raw.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm
index aca8a114a..edf0f0918 100644
--- a/perl-install/partition_table_raw.pm
+++ b/perl-install/partition_table_raw.pm
@@ -96,10 +96,10 @@ sub description {
my ($hd) = @_;
my $win = $hd->{device_windobe};
- sprintf "%s%s (%d%s%s)",
+ sprintf "%s%s (%s%s)",
$hd->{device},
$win && " [$win:]",
- ($hd->{totalsectors} || $hd->{size}) >> 11, _("MB"),
+ formatXiB($hd->{totalsectors} || $hd->{size}, 512),
$hd->{info} && ", $hd->{info}";
}