1
0
mirror of https://github.com/golang/go synced 2024-11-18 02:54:47 -07:00

runtime: fix typo in comment for cpuinit

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>
This commit is contained in:
Tobias Klauser 2018-05-29 09:08:42 +02:00 committed by Brad Fitzpatrick
parent 53209467db
commit 99695bd90b

View 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="