ifconfig: Fix capitalization of "kiB"

This commit is contained in:
Nico Weber 2020-08-14 10:03:30 -04:00 committed by Andreas Kling
commit 19b329ee96
Notes: sideshowbarker 2024-07-19 03:38:43 +09:00

View file

@ -45,7 +45,7 @@ static String si_bytes(unsigned bytes)
if (bytes >= MB)
return String::format("%fMiB", (double)bytes / (double)MB);
if (bytes >= KB)
return String::format("%fKiB", (double)bytes / (double)KB);
return String::format("%fkiB", (double)bytes / (double)KB);
return String::format("%dB", bytes);
}