From 9f4d7e4767c0af920a30e75dfceb820ec0cd2e52 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Tue, 21 Sep 2021 13:08:20 +0200 Subject: [PATCH] xtensa_dumpstate.c: Fix the name of the TCB variable when dumping the backtrace. Signed-off-by: Abdelatif Guettouche --- arch/xtensa/src/common/xtensa_dumpstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/src/common/xtensa_dumpstate.c b/arch/xtensa/src/common/xtensa_dumpstate.c index 6627556fae3..daccaede942 100644 --- a/arch/xtensa/src/common/xtensa_dumpstate.c +++ b/arch/xtensa/src/common/xtensa_dumpstate.c @@ -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