]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in comment for cpuinit
authorTobias Klauser <tklauser@distanz.ch>
Tue, 29 May 2018 07:08:42 +0000 (09:08 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 29 May 2018 14:40:49 +0000 (14:40 +0000)
Change-Id: Ie19e0354f813b042c995c0221072568eaa473bea
Reviewed-on: https://go-review.googlesource.com/114995
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/proc.go

index e312c575d0fb45783d7513113d993caa2f7a2490..8a5812639ebb504301e582ac6e33373950a6361b 100644 (file)
@@ -479,7 +479,7 @@ func internal_cpu_initialize(env string)
 //go:linkname internal_cpu_debugOptions internal/cpu.debugOptions
 var internal_cpu_debugOptions bool
 
-// cpuinit extracts the environment variable GODEBUGCPU from the enviroment on
+// cpuinit extracts the environment variable GODEBUGCPU from the environment on
 // Linux and Darwin if the GOEXPERIMENT debugcpu was set and calls internal/cpu.initialize.
 func cpuinit() {
        const prefix = "GODEBUGCPU="