From: Alex Brainman Date: Mon, 17 Nov 2014 22:55:15 +0000 (+1100) Subject: runtime: fix getcallersp documentation X-Git-Tag: go1.5beta1~2709 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=55f19ed866d55ebfdbed59893ff93fb00a7c35fe;p=gostls13.git runtime: fix getcallersp documentation LGTM=bradfitz R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/180760043 --- diff --git a/src/runtime/stubs.go b/src/runtime/stubs.go index fe8f9c9222..1282397adb 100644 --- a/src/runtime/stubs.go +++ b/src/runtime/stubs.go @@ -231,7 +231,7 @@ func setcallerpc(argp unsafe.Pointer, pc uintptr) // // func f(arg1, arg2, arg3 int) { // pc := getcallerpc(unsafe.Pointer(&arg1)) -// sp := getcallerpc(unsafe.Pointer(&arg2)) +// sp := getcallersp(unsafe.Pointer(&arg1)) // } // // These two lines find the PC and SP immediately following