summaryrefslogtreecommitdiff
path: root/lib/tsan/dd/dd_rtl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsan/dd/dd_rtl.cc')
-rw-r--r--lib/tsan/dd/dd_rtl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/dd/dd_rtl.cc b/lib/tsan/dd/dd_rtl.cc
index 329d59d46..aed9debef 100644
--- a/lib/tsan/dd/dd_rtl.cc
+++ b/lib/tsan/dd/dd_rtl.cc
@@ -44,7 +44,7 @@ static void ReportDeadlock(Thread *thr, DDReport *rep) {
for (int i = 0; i < rep->n; i++) {
Printf("Thread %d locks mutex %llu while holding mutex %llu:\n",
rep->loop[i].thr_ctx, rep->loop[i].mtx_ctx1, rep->loop[i].mtx_ctx0);
- PrintStackTrace(thr, rep->loop[i].stk);
+ PrintStackTrace(thr, rep->loop[i].stk[1]);
}
Printf("==============================\n");
}