From e9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Wed, 4 May 2022 18:06:20 +0900 Subject: Fix typos --- contrib/atomicrename/main.go | 2 +- contrib/findholes/holes/holes.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/atomicrename/main.go b/contrib/atomicrename/main.go index 67088b0..394753b 100644 --- a/contrib/atomicrename/main.go +++ b/contrib/atomicrename/main.go @@ -26,7 +26,7 @@ func usage() { them in random order over a single "dst" file while reading the "dst" file concurrently in a loop. -Progress and errors are reported as they occour in addition to a summary +Progress and errors are reported as they occur in addition to a summary printed at the end. cifs and fuse filesystems are known to fail, local filesystems and nfs seem ok. diff --git a/contrib/findholes/holes/holes.go b/contrib/findholes/holes/holes.go index 307c624..95c9d2b 100644 --- a/contrib/findholes/holes/holes.go +++ b/contrib/findholes/holes/holes.go @@ -153,7 +153,7 @@ func Verify(fd int, segments []Segment) (err error) { case SegmentEOF: continue default: - log.Panicf("BUG: unkown segment type %d", s.Type) + log.Panicf("BUG: unknown segment type %d", s.Type) } for off := s.Offset; off < segments[i+1].Offset; off++ { res, err := syscall.Seek(fd, off, whence) -- cgit v1.2.3