summaryrefslogtreecommitdiffstats
path: root/runtime/stack-ppc64.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack-ppc64.c')
-rw-r--r--runtime/stack-ppc64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack-ppc64.c b/runtime/stack-ppc64.c
index 87c528fd..4d4e49bb 100644
--- a/runtime/stack-ppc64.c
+++ b/runtime/stack-ppc64.c
@@ -57,5 +57,5 @@ static void __stp_stack_print (struct pt_regs *regs, int verbose, int levels)
}
sp = newsp;
- } while (str->len < STP_STRING_SIZE);
+ } while (count++ < MAXBACKTRACE);
}