aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_linux_arm.go
diff options
context:
space:
mode:
authorYongjian Xu <i3dmaster@gmail.com>2015-06-16 21:33:03 -0700
committerMinux Ma <minux@golang.org>2015-06-17 08:51:59 +0000
commite3dc59f33d87f93a28a913ec56db25de3a654f0c (patch)
treed2b9cf1343cd3a28e187d85212ee883fce39f32d /src/runtime/os_linux_arm.go
parent776829660b7ed1dc0b4581abd637747ae1c7cdc8 (diff)
downloadgo-e3dc59f33d87f93a28a913ec56db25de3a654f0c.tar.gz
go-e3dc59f33d87f93a28a913ec56db25de3a654f0c.zip
runtime: fix typos in os_linux_arm.go
Change-Id: I750900e0aed9ec528fea3f442c35196773e3ba5e Reviewed-on: https://go-review.googlesource.com/11163 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/os_linux_arm.go')
-rw-r--r--src/runtime/os_linux_arm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os_linux_arm.go b/src/runtime/os_linux_arm.go
index c5abedbd98..6c74c81859 100644
--- a/src/runtime/os_linux_arm.go
+++ b/src/runtime/os_linux_arm.go
@@ -47,7 +47,7 @@ func sysargs(argc int32, argv **byte) {
switch auxv[i] {
case _AT_RANDOM: // kernel provides a pointer to 16-bytes worth of random data
startupRandomData = (*[16]byte)(unsafe.Pointer(uintptr(auxv[i+1])))[:]
- // the pointer provided may not be word alined, so we must to treat it
+ // the pointer provided may not be word aligned, so we must treat it
// as a byte array.
randomNumber = uint32(startupRandomData[4]) | uint32(startupRandomData[5])<<8 |
uint32(startupRandomData[6])<<16 | uint32(startupRandomData[7])<<24