2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-31 16:10:49 +00:00

Merge pull request 2050 from andreasnuesslein/patch-1

tiny formatting fix
This commit is contained in:
Alexander Neumann 2018-10-18 22:31:15 +02:00
commit d203ae37f4

View File

@ -21,7 +21,7 @@ func formatBytes(c uint64) string {
case c > 1<<10:
return fmt.Sprintf("%.3f KiB", b/(1<<10))
default:
return fmt.Sprintf("%dB", c)
return fmt.Sprintf("%d B", c)
}
}