xtensa_dumpstate.c: Fix the name of the TCB variable when dumping the

backtrace.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-09-21 13:08:20 +02:00
committed by zhuyanlin
parent 6bcd83eb04
commit a2cea014d3
+1 -1
View File
@@ -74,7 +74,7 @@ static void up_taskdump(FAR struct tcb_s *tcb, FAR void *arg)
#if defined(CONFIG_XTENSA_DUMPBT_ON_ASSERT) && \
defined(CONFIG_SCHED_BACKTRACE)
sched_dumpstack(rtcb->pid);
sched_dumpstack(tcb->pid);
#endif
}
#endif