diff options
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 533cf20838..76ed8966dc 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -4356,7 +4356,7 @@ func saveAncestors(callergp *g) *[]ancestorInfo { ancestors := make([]ancestorInfo, n) copy(ancestors[1:], callerAncestors) - var pcs [_TracebackMaxFrames]uintptr + var pcs [tracebackInnerFrames]uintptr npcs := gcallers(callergp, 0, pcs[:]) ipcs := make([]uintptr, npcs) copy(ipcs, pcs[:]) |
