mirror of
https://github.com/restic/restic.git
synced 2024-12-23 16:26:11 +00:00
Merge pull request 2050 from andreasnuesslein/patch-1
tiny formatting fix
This commit is contained in:
commit
d203ae37f4
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func formatBytes(c uint64) string {
|
||||||
case c > 1<<10:
|
case c > 1<<10:
|
||||||
return fmt.Sprintf("%.3f KiB", b/(1<<10))
|
return fmt.Sprintf("%.3f KiB", b/(1<<10))
|
||||||
default:
|
default:
|
||||||
return fmt.Sprintf("%dB", c)
|
return fmt.Sprintf("%d B", c)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue