sched/semaphore/sem_holder.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 15:23:48 +09:00 committed by Xiang Xiao
parent 09b7660795
commit b1ecca08c1
1 changed files with 2 additions and 2 deletions

View File

@ -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)