Skip to content

Commit

Permalink
runtime: fix typos
Browse files Browse the repository at this point in the history
Change-Id: Iffc25fc80452baf090bf8ef15ab798cfaa120b8e
Reviewed-on: https://go-review.googlesource.com/16154
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
minux committed Oct 22, 2015
1 parent 58e3ae2 commit 1948aef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/msan0.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") }

0 comments on commit 1948aef

Please sign in to comment.