diff options
Diffstat (limited to 'src/pkg/syscall')
-rw-r--r-- | src/pkg/syscall/syscall_unix.go | 2 |
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. |