]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: fix typo in comment
authorIan Lance Taylor <iant@golang.org>
Tue, 5 Aug 2014 03:30:26 +0000 (20:30 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Aug 2014 03:30:26 +0000 (20:30 -0700)
LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/120570043

src/pkg/syscall/syscall_unix.go

index b28891568d892c9a2f6efea6e303fee087db6d43..f18dfca5e61d933a3179bfec27220f35a046b8a9 100644 (file)
@@ -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.