Compare commits

...
Author SHA1 Message Date
Cnly 4948bfa8c5 accounting: fix error count shown as checks 2019-12-20 14:37:21 +08:00
+1 -1
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)