Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

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

Cnly59c75ba442f3
diff --git a/fs/accounting/stats.go b/fs/accounting/stats.go
index a2e44fb60..9f7502610 100644
--- a/fs/accounting/stats.go
+++ b/fs/accounting/stats.go
@@ -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)