From: Shenghou Ma Date: Wed, 21 Oct 2015 21:04:49 +0000 (-0400) Subject: runtime: fix typos X-Git-Tag: go1.6beta1~750 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1948aef6e3d1935cb4cfdf4a52f6c278cbbe2a8b;p=gostls13.git runtime: fix typos Change-Id: Iffc25fc80452baf090bf8ef15ab798cfaa120b8e Reviewed-on: https://go-review.googlesource.com/16154 Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/msan0.go b/src/runtime/msan0.go index f66fbe8779..e206720697 100644 --- a/src/runtime/msan0.go +++ b/src/runtime/msan0.go @@ -16,7 +16,7 @@ const msanenabled = false // Because msanenabled is false, none of these functions should be called. -func msanread(addr unsafe.Pointer, sz uintptr) { throw("race") } -func msanwrite(addr unsafe.Pointer, sz uintptr) { throw("race") } +func msanread(addr unsafe.Pointer, sz uintptr) { throw("msan") } +func msanwrite(addr unsafe.Pointer, sz uintptr) { throw("msan") } func msanmalloc(addr unsafe.Pointer, sz uintptr) { throw("msan") } func msanfree(addr unsafe.Pointer, sz uintptr) { throw("msan") }