summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicebackup2.c')
-rw-r--r--tools/idevicebackup2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 57c7865..30e3724 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -240,6 +240,8 @@ static char* format_size_for_display(uint64_t size)
} else if (size >= 1000LL) {
sz = ((double)size / 1000.0f);
sprintf(buf, "%0.1f kB", sz);
+ } else {
+ sprintf(buf, "%d Bytes", (int)size);
}
return strdup(buf);
}