accounting: fix error count shown as checks - fixes #3814

s3-about
Cnly 2019-12-20 14:37:21 +08:00
parent 0ecb8bc2f9
commit 59c75ba442
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ func (s *StatsInfo) String() string {
}
if s.checks != 0 || totalChecks != 0 {
_, _ = fmt.Fprintf(buf, "Checks: %10d / %d, %s\n",
s.errors, totalChecks, percent(s.checks, totalChecks))
s.checks, totalChecks, percent(s.checks, totalChecks))
}
if s.deletes != 0 {
_, _ = fmt.Fprintf(buf, "Deleted: %10d\n", s.deletes)