summaryrefslogtreecommitdiff
path: root/src/pkg
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-02-16 16:11:11 -0800
committerRuss Cox <rsc@golang.org>2010-02-16 16:11:11 -0800
commit8a22eea14f5ffd19aa9b0c826727665770bfd4ae (patch)
tree1d26a756a426c287503fd38ffb8fb76baf4bf544 /src/pkg
parentedb63d1f327360a7e4396f01657e730bc7dc950d (diff)
downloadgolang-8a22eea14f5ffd19aa9b0c826727665770bfd4ae.tar.gz
runtime: fix bug in Caller documentation
R=r CC=golang-dev http://codereview.appspot.com/207110
Diffstat (limited to 'src/pkg')
-rw-r--r--src/pkg/runtime/extern.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/extern.go b/src/pkg/runtime/extern.go
index 0834f7879..4ee3076c7 100644
--- a/src/pkg/runtime/extern.go
+++ b/src/pkg/runtime/extern.go
@@ -24,7 +24,7 @@ func Breakpoint()
// Caller reports file and line number information about function invocations on
// the calling goroutine's stack. The argument is the number of stack frames to
-// ascend, with 1 identifying the the caller of Caller. The return values report the
+// ascend, with 0 identifying the the caller of Caller. The return values report the
// program counter, file name, and line number within the file of the corresponding
// call. The boolean ok is false if it was not possible to recover the information.
func Caller(n int) (pc uintptr, file string, line int, ok bool)