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