From: Ian Lance Taylor Date: Tue, 5 Aug 2014 03:30:26 +0000 (-0700) Subject: syscall: fix typo in comment X-Git-Tag: go1.4beta1~956 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ae55858e049179539479c325965407b4b6ebb2ec;p=gostls13.git syscall: fix typo in comment LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/120570043 --- diff --git a/src/pkg/syscall/syscall_unix.go b/src/pkg/syscall/syscall_unix.go index b28891568d..f18dfca5e6 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.