1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

ifconfig: Fix capitalization of "kiB"

This commit is contained in:
Nico Weber 2020-08-14 10:03:30 -04:00 committed by Andreas Kling
parent d5b2233f2e
commit 19b329ee96

View file

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