From 04d9c8853bf3a539b978fa081c939e4fda95ff46 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 16 Feb 2010 16:11:11 -0800 Subject: [PATCH] runtime: fix bug in Caller documentation R=r CC=golang-dev https://golang.org/cl/207110 --- src/pkg/runtime/extern.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/extern.go b/src/pkg/runtime/extern.go index 0834f78791..4ee3076c79 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)