summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/player/command.c b/player/command.c
index 7830c9fb0b..974c61769e 100644
--- a/player/command.c
+++ b/player/command.c
@@ -327,15 +327,15 @@ static char *format_file_size(int64_t size)
return talloc_asprintf(NULL, "%.0f", s);
if (size < (1024 * 1024))
- return talloc_asprintf(NULL, "%.3f Kb", s / (1024.0));
+ return talloc_asprintf(NULL, "%.3f KiB", s / (1024.0));
if (size < (1024 * 1024 * 1024))
- return talloc_asprintf(NULL, "%.3f Mb", s / (1024.0 * 1024.0));
+ return talloc_asprintf(NULL, "%.3f MiB", s / (1024.0 * 1024.0));
if (size < (1024LL * 1024LL * 1024LL * 1024LL))
- return talloc_asprintf(NULL, "%.3f Gb", s / (1024.0 * 1024.0 * 1024.0));
+ return talloc_asprintf(NULL, "%.3f GiB", s / (1024.0 * 1024.0 * 1024.0));
- return talloc_asprintf(NULL, "%.3f Tb", s / (1024.0 * 1024.0 * 1024.0 * 1024.0));
+ return talloc_asprintf(NULL, "%.3f TiB", s / (1024.0 * 1024.0 * 1024.0 * 1024.0));
}
static char *format_delay(double time)