From b1ecca08c193caf45bc075ad4e3145c777b315fb Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sun, 22 Nov 2020 15:23:48 +0900 Subject: [PATCH] sched/semaphore/sem_holder.c: Fix syslog formats --- sched/semaphore/sem_holder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/semaphore/sem_holder.c b/sched/semaphore/sem_holder.c index b3da8f3880..e98f08dd51 100644 --- a/sched/semaphore/sem_holder.c +++ b/sched/semaphore/sem_holder.c @@ -328,7 +328,7 @@ static int nxsem_boostholderprio(FAR struct semholder_s *pholder, if (!nxsched_verify_tcb(htcb)) { - swarn("WARNING: TCB 0x%08x is a stale handle, counts lost\n", htcb); + swarn("WARNING: TCB %p is a stale handle, counts lost\n", htcb); nxsem_freeholder(sem, pholder); } @@ -492,7 +492,7 @@ static int nxsem_restoreholderprio(FAR struct tcb_s *htcb, if (!nxsched_verify_tcb(htcb)) { - swarn("WARNING: TCB 0x%08x is a stale handle, counts lost\n", htcb); + swarn("WARNING: TCB %p is a stale handle, counts lost\n", htcb); pholder = nxsem_findholder(sem, htcb); if (pholder != NULL)