Disk: Change GB to GiB

This commit is contained in:
Linus Dierheimer
2022-06-14 17:17:22 +02:00
parent e1b5445783
commit 4cf912e535
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ static inline void printCommandHelp(const char* command)
}
else if(strcasecmp(command, "disk-format") == 0)
{
constructAndPrintCommandHelpFormat("disk", "{}GB / {}GB ({4}%)", 4,
constructAndPrintCommandHelpFormat("disk", "{}GiB / {}GiB ({4}%)", 4,
"Used disk space",
"Total disk space",
"Number of files",
+1 -1
View File
@@ -36,7 +36,7 @@ static void printStatvfs(FFinstance* instance, FFstrbuf* key, struct statvfs* fs
if(instance->config.diskFormat.length == 0)
{
ffPrintLogoAndKey(instance, key->chars, 0, NULL);
printf("%uGB / %uGB (%u%%)\n", used, total, percentage);
printf("%uGiB / %uGiB (%u%%)\n", used, total, percentage);
}
else
{