From 7ff7642e6d2dc321ad186c42d38c3585aba9ac13 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Tue, 20 Mar 2018 22:14:00 -0700 Subject: [PATCH] tiny correction, forgot short inxi to use MiB for ram --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 0a57b1b..0979602 100755 --- a/inxi +++ b/inxi @@ -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";