mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
sched/semaphore/sem_holder.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
09b7660795
commit
b1ecca08c1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user