diff options
Diffstat (limited to 'tools/idevicebackup.c')
| -rw-r--r-- | tools/idevicebackup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c index d6d9228..159f3b1 100644 --- a/tools/idevicebackup.c +++ b/tools/idevicebackup.c | |||
| @@ -275,6 +275,8 @@ static char* format_size_for_display(uint64_t size) | |||
| 275 | } else if (size >= 1000LL) { | 275 | } else if (size >= 1000LL) { |
| 276 | sz = ((double)size / 1000.0f); | 276 | sz = ((double)size / 1000.0f); |
| 277 | sprintf(buf, "%0.1f kB", sz); | 277 | sprintf(buf, "%0.1f kB", sz); |
| 278 | } else { | ||
| 279 | sprintf(buf, "%d Bytes", (int)size); | ||
| 278 | } | 280 | } |
| 279 | return strdup(buf); | 281 | return strdup(buf); |
| 280 | } | 282 | } |
