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 Gustavo Henrique Nihei
parent 1692aa7894
commit 9f4d7e4767

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