1
0
mirror of https://github.com/golang/go synced 2024-11-19 10:14:44 -07:00

syscall: fix typo in comment

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/120570043
This commit is contained in:
Ian Lance Taylor 2014-08-04 20:30:26 -07:00
parent bb843c0b2f
commit ae55858e04

View File

@ -56,7 +56,7 @@ func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (d
cap int cap int
}{addr, length, length} }{addr, length, length}
// Use unsafeto turn sl into a []byte. // Use unsafe to turn sl into a []byte.
b := *(*[]byte)(unsafe.Pointer(&sl)) b := *(*[]byte)(unsafe.Pointer(&sl))
// Register mapping in m and return it. // Register mapping in m and return it.