From ae55858e049179539479c325965407b4b6ebb2ec Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 4 Aug 2014 20:30:26 -0700 Subject: [PATCH] syscall: fix typo in comment LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/120570043 --- src/pkg/syscall/syscall_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/syscall/syscall_unix.go b/src/pkg/syscall/syscall_unix.go index b28891568d8..f18dfca5e61 100644 --- a/src/pkg/syscall/syscall_unix.go +++ b/src/pkg/syscall/syscall_unix.go @@ -56,7 +56,7 @@ func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (d cap int }{addr, length, length} - // Use unsafeto turn sl into a []byte. + // Use unsafe to turn sl into a []byte. b := *(*[]byte)(unsafe.Pointer(&sl)) // Register mapping in m and return it.