diff --git a/sched/pthread/pthread_completejoin.c b/sched/pthread/pthread_completejoin.c index 3d66fe8a6ab..1e76d555a72 100644 --- a/sched/pthread/pthread_completejoin.c +++ b/sched/pthread/pthread_completejoin.c @@ -54,7 +54,7 @@ static bool pthread_notifywaiters(FAR struct join_s *pjoin) int ntasks_waiting; int status; - sinfo("pjoin=0x%p\n", pjoin); + sinfo("pjoin=%p\n", pjoin); /* Are any tasks waiting for our exit value? */ @@ -257,7 +257,7 @@ int pthread_completejoin(pid_t pid, FAR void *exit_value) void pthread_destroyjoin(FAR struct task_group_s *group, FAR struct join_s *pjoin) { - sinfo("pjoin=0x%p\n", pjoin); + sinfo("pjoin=%p\n", pjoin); /* Remove the join info from the set of joins */ diff --git a/sched/pthread/pthread_condbroadcast.c b/sched/pthread/pthread_condbroadcast.c index f47b6a0d419..607d6757d25 100644 --- a/sched/pthread/pthread_condbroadcast.c +++ b/sched/pthread/pthread_condbroadcast.c @@ -56,7 +56,7 @@ int pthread_cond_broadcast(FAR pthread_cond_t *cond) int ret = OK; int sval; - sinfo("cond=0x%p\n", cond); + sinfo("cond=%p\n", cond); if (!cond) { diff --git a/sched/pthread/pthread_condclockwait.c b/sched/pthread/pthread_condclockwait.c index 2b847bd0658..c8d0a8c603f 100644 --- a/sched/pthread/pthread_condclockwait.c +++ b/sched/pthread/pthread_condclockwait.c @@ -78,7 +78,7 @@ int pthread_cond_clockwait(FAR pthread_cond_t *cond, int ret = OK; int status; - sinfo("cond=0x%p mutex=0x%p abstime=0x%p\n", cond, mutex, abstime); + sinfo("cond=%p mutex=%p abstime=%p\n", cond, mutex, abstime); /* pthread_cond_clockwait() is a cancellation point */ diff --git a/sched/pthread/pthread_condsignal.c b/sched/pthread/pthread_condsignal.c index a7733bdf377..ba71ff2be91 100644 --- a/sched/pthread/pthread_condsignal.c +++ b/sched/pthread/pthread_condsignal.c @@ -55,7 +55,7 @@ int pthread_cond_signal(FAR pthread_cond_t *cond) int ret = OK; int sval; - sinfo("cond=0x%p\n", cond); + sinfo("cond=%p\n", cond); if (!cond) { diff --git a/sched/pthread/pthread_condwait.c b/sched/pthread/pthread_condwait.c index 2ec4b9909f1..c4da0805ba3 100644 --- a/sched/pthread/pthread_condwait.c +++ b/sched/pthread/pthread_condwait.c @@ -59,7 +59,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) int status; int ret; - sinfo("cond=0x%p mutex=0x%p\n", cond, mutex); + sinfo("cond=%p mutex=%p\n", cond, mutex); /* pthread_cond_wait() is a cancellation point */ diff --git a/sched/pthread/pthread_getschedparam.c b/sched/pthread/pthread_getschedparam.c index f2f6e8efa54..73511b37237 100644 --- a/sched/pthread/pthread_getschedparam.c +++ b/sched/pthread/pthread_getschedparam.c @@ -78,7 +78,7 @@ int pthread_getschedparam(pthread_t thread, FAR int *policy, { int ret; - sinfo("Thread ID=%d policy=0x%p param=0x%p\n", thread, policy, param); + sinfo("Thread ID=%d policy=%p param=%p\n", thread, policy, param); if (policy == NULL || param == NULL) { diff --git a/sched/pthread/pthread_join.c b/sched/pthread/pthread_join.c index 682f9cd0d54..887cef5f92e 100644 --- a/sched/pthread/pthread_join.c +++ b/sched/pthread/pthread_join.c @@ -176,7 +176,7 @@ int pthread_join(pthread_t thread, FAR pthread_addr_t *pexit_value) if (pexit_value) { - sinfo("exit_value=0x%p\n", pjoin->exit_value); + sinfo("exit_value=%p\n", pjoin->exit_value); *pexit_value = pjoin->exit_value; } } @@ -206,7 +206,7 @@ int pthread_join(pthread_t thread, FAR pthread_addr_t *pexit_value) if (pexit_value) { *pexit_value = pjoin->exit_value; - sinfo("exit_value=0x%p\n", pjoin->exit_value); + sinfo("exit_value=%p\n", pjoin->exit_value); } /* Post the thread's data semaphore so that the exiting thread diff --git a/sched/pthread/pthread_mutexconsistent.c b/sched/pthread/pthread_mutexconsistent.c index f910510260b..4cba0a07716 100644 --- a/sched/pthread/pthread_mutexconsistent.c +++ b/sched/pthread/pthread_mutexconsistent.c @@ -76,7 +76,7 @@ int pthread_mutex_consistent(FAR pthread_mutex_t *mutex) int ret = EINVAL; int status; - sinfo("mutex=0x%p\n", mutex); + sinfo("mutex=%p\n", mutex); DEBUGASSERT(mutex != NULL); if (mutex != NULL) diff --git a/sched/pthread/pthread_mutexdestroy.c b/sched/pthread/pthread_mutexdestroy.c index 354d5fdcdf8..2a144dae8a1 100644 --- a/sched/pthread/pthread_mutexdestroy.c +++ b/sched/pthread/pthread_mutexdestroy.c @@ -60,7 +60,7 @@ int pthread_mutex_destroy(FAR pthread_mutex_t *mutex) int ret = EINVAL; int status; - sinfo("mutex=0x%p\n", mutex); + sinfo("mutex=%p\n", mutex); DEBUGASSERT(mutex != NULL); if (mutex != NULL) diff --git a/sched/pthread/pthread_mutexinit.c b/sched/pthread/pthread_mutexinit.c index c1956a09ec3..a5bd11d4200 100644 --- a/sched/pthread/pthread_mutexinit.c +++ b/sched/pthread/pthread_mutexinit.c @@ -77,7 +77,7 @@ int pthread_mutex_init(FAR pthread_mutex_t *mutex, int ret = OK; int status; - sinfo("mutex=0x%p attr=0x%p\n", mutex, attr); + sinfo("mutex=%p attr=%p\n", mutex, attr); if (!mutex) { diff --git a/sched/pthread/pthread_mutextimedlock.c b/sched/pthread/pthread_mutextimedlock.c index af0698851d3..f6d113b0207 100644 --- a/sched/pthread/pthread_mutextimedlock.c +++ b/sched/pthread/pthread_mutextimedlock.c @@ -81,7 +81,7 @@ int pthread_mutex_timedlock(FAR pthread_mutex_t *mutex, pid_t mypid = getpid(); int ret = EINVAL; - sinfo("mutex=0x%p\n", mutex); + sinfo("mutex=%p\n", mutex); DEBUGASSERT(mutex != NULL); if (mutex != NULL) diff --git a/sched/pthread/pthread_mutextrylock.c b/sched/pthread/pthread_mutextrylock.c index 84e2a5632ce..25a41b4f72b 100644 --- a/sched/pthread/pthread_mutextrylock.c +++ b/sched/pthread/pthread_mutextrylock.c @@ -71,7 +71,7 @@ int pthread_mutex_trylock(FAR pthread_mutex_t *mutex) int status; int ret = EINVAL; - sinfo("mutex=0x%p\n", mutex); + sinfo("mutex=%p\n", mutex); DEBUGASSERT(mutex != NULL); if (mutex != NULL) diff --git a/sched/pthread/pthread_mutexunlock.c b/sched/pthread/pthread_mutexunlock.c index 60ec2937552..c4379d14e12 100644 --- a/sched/pthread/pthread_mutexunlock.c +++ b/sched/pthread/pthread_mutexunlock.c @@ -102,7 +102,7 @@ int pthread_mutex_unlock(FAR pthread_mutex_t *mutex) { int ret = EPERM; - sinfo("mutex=0x%p\n", mutex); + sinfo("mutex=%p\n", mutex); DEBUGASSERT(mutex != NULL); if (mutex == NULL) { diff --git a/sched/pthread/pthread_setschedparam.c b/sched/pthread/pthread_setschedparam.c index fc44c1162b3..8ff53e01e84 100644 --- a/sched/pthread/pthread_setschedparam.c +++ b/sched/pthread/pthread_setschedparam.c @@ -91,7 +91,7 @@ int pthread_setschedparam(pthread_t thread, int policy, { int ret; - sinfo("thread ID=%d policy=%d param=0x%p\n", thread, policy, param); + sinfo("thread ID=%d policy=%d param=%p\n", thread, policy, param); /* Let nxsched_set_scheduler do all of the work */