tiny correction, forgot short inxi to use MiB for ram

This commit is contained in:
Harald Hope 2018-03-20 22:14:00 -07:00
parent 9aecb6103b
commit 7ff7642e6d

2
inxi
View file

@ -14110,7 +14110,7 @@ sub get_memory_data_linux {
my $percent = ($used && $total) ? sprintf("%.1f", ($used/$total)*100) : '';
if ($type eq 'string'){
$percent = " ($percent%)" if $percent;
$memory = sprintf("%.1f/%.1f MB", $used/1024, $total/1024) . $percent;
$memory = sprintf("%.1f/%.1f MiB", $used/1024, $total/1024) . $percent;
}
else {
$memory = "$total:$used:$percent";