summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-08-04 20:30:26 -0700
committerIan Lance Taylor <iant@golang.org>2014-08-04 20:30:26 -0700
commit1fb70ba02737fc54e8ad64dbc8e913c3bf262048 (patch)
treeff089fc835bfd29e602e45c0a94ac1680a0ed530 /src
parent852d959d06a1d175338d1ab75cd871d6f8429e92 (diff)
downloadgo-1fb70ba02737fc54e8ad64dbc8e913c3bf262048.tar.gz
syscall: fix typo in comment
LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://codereview.appspot.com/120570043
Diffstat (limited to 'src')
-rw-r--r--src/pkg/syscall/syscall_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/syscall/syscall_unix.go b/src/pkg/syscall/syscall_unix.go
index b28891568..f18dfca5e 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.