Commit ae55858e authored by Ian Lance Taylor's avatar Ian Lance Taylor

syscall: fix typo in comment

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/120570043
parent bb843c0b
...@@ -56,7 +56,7 @@ func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (d ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment