summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/pthread_mutexunlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_mutexunlock.c')
-rw-r--r--nuttx/sched/pthread_mutexunlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/pthread_mutexunlock.c b/nuttx/sched/pthread_mutexunlock.c
index 133dc1a942..2bc63eb264 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("%s: mutex=0x%p\n", __FUNCTION__, mutex);
+ dbg("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("%s: Holder=%d Returning EPERM\n", __FUNCTION__, mutex->pid);
+ dbg("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("%s: Returning %d\n", __FUNCTION__, ret);
+ dbg("Returning %d\n", ret);
return ret;
}