summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_detach.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_detach.c')
-rw-r--r--nuttx/sched/pthread_detach.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/pthread_detach.c b/nuttx/sched/pthread_detach.c
index a1a60acf5..a43be55bc 100644
--- a/nuttx/sched/pthread_detach.c
+++ b/nuttx/sched/pthread_detach.c
@@ -90,7 +90,7 @@ int pthread_detach(pthread_t thread)
FAR join_t *pjoin;
int ret;
- dbg("Thread=%d\n", thread);
+ sdbg("Thread=%d\n", thread);
/* Find the entry associated with this pthread. */
@@ -98,7 +98,7 @@ int pthread_detach(pthread_t thread)
pjoin = pthread_findjoininfo((pid_t)thread);
if (!pjoin)
{
- dbg("Could not find thread entry\n");
+ sdbg("Could not find thread entry\n");
ret = EINVAL;
}
else
@@ -127,6 +127,6 @@ int pthread_detach(pthread_t thread)
}
(void)pthread_givesemaphore(&g_join_semaphore);
- dbg("Returning %d\n", ret);
+ sdbg("Returning %d\n", ret);
return ret;
}