aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
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)