mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
ifconfig: Fix capitalization of "kiB"
This commit is contained in:
parent
d5b2233f2e
commit
19b329ee96
Notes:
sideshowbarker
2024-07-19 03:38:43 +09:00
Author: https://github.com/nico
Commit: 19b329ee96
Pull-request: https://github.com/SerenityOS/serenity/pull/3120
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue