summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorYuta Hayashibe2022-05-04 18:06:20 +0900
committerrfjakob2022-06-26 10:59:06 +0200
commite9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8 (patch)
tree94d0da7da7c22b65ccfa5cc99cb7e9d5e6322d07 /contrib
parentc9e4e4f74150d2734496e90a4c442a17b79f52c1 (diff)
Fix typos
Diffstat (limited to 'contrib')
-rw-r--r--contrib/atomicrename/main.go2
-rw-r--r--contrib/findholes/holes/holes.go2
2 files changed, 2 insertions, 2 deletions
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)