aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime/stubs.go2
1 files changed, 1 insertions, 1 deletions
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