Skip to content

Commit

Permalink
fixes typo unnmmap -> unmmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Ameer Ayoub committed May 13, 2015
1 parent 6df6e0d commit 96c90fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codesearch/index/mmap_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func mmapFile(f *os.File) mmapData {
return mmapData{f, data[:size], data[:]}
}

func unnmmapFile(m *mmapData) error {
func unmmapFile(m *mmapData) error {
err := syscall.UnmapViewOfFile(uintptr(unsafe.Pointer(&m.d)))
if err != nil {
log.Fatalf("UnmapViewOfFile %s: %v", m.f.Name(), err)
Expand Down

0 comments on commit 96c90fd

Please sign in to comment.