diff options
Diffstat (limited to 'nuttx/sched/pthread_mutexunlock.c')
-rw-r--r-- | nuttx/sched/pthread_mutexunlock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/pthread_mutexunlock.c b/nuttx/sched/pthread_mutexunlock.c index 2bc63eb26..d68cb6896 100644 --- a/nuttx/sched/pthread_mutexunlock.c +++ b/nuttx/sched/pthread_mutexunlock.c @@ -89,7 +89,7 @@ int pthread_mutex_unlock(pthread_mutex_t *mutex) { int ret = OK; - dbg("mutex=0x%p\n", mutex); + sdbg("mutex=0x%p\n", mutex); if (!mutex) { @@ -107,7 +107,7 @@ int pthread_mutex_unlock(pthread_mutex_t *mutex) if (mutex->pid != (int)getpid()) { - dbg("Holder=%d returning EPERM\n", mutex->pid); + sdbg("Holder=%d returning EPERM\n", mutex->pid); ret = EPERM; } else @@ -120,7 +120,7 @@ int pthread_mutex_unlock(pthread_mutex_t *mutex) sched_unlock(); } - dbg("Returning %d\n", ret); + sdbg("Returning %d\n", ret); return ret; } |