summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table_raw.pm
diff options
context:
space:
mode:
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}";
}