summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_mutexattrsetpshared.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-23 22:32:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-23 22:32:52 +0000
commit2937aaaaf09c2f0d5b46b1a2a30eac962d8455d3 (patch)
tree4c931c8603e4c674f6eec802044b430a953536db /nuttx/sched/pthread_mutexattrsetpshared.c
parentfa64306fac12fed8522ab0facdb2cd7f211b2d30 (diff)
downloadpx4-nuttx-2937aaaaf09c2f0d5b46b1a2a30eac962d8455d3.tar.gz
px4-nuttx-2937aaaaf09c2f0d5b46b1a2a30eac962d8455d3.tar.bz2
px4-nuttx-2937aaaaf09c2f0d5b46b1a2a30eac962d8455d3.zip
Debug can now be selectively enabled by subystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@404 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_mutexattrsetpshared.c')
-rw-r--r--nuttx/sched/pthread_mutexattrsetpshared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/pthread_mutexattrsetpshared.c b/nuttx/sched/pthread_mutexattrsetpshared.c
index f25ed4639..53a616fce 100644
--- a/nuttx/sched/pthread_mutexattrsetpshared.c
+++ b/nuttx/sched/pthread_mutexattrsetpshared.c
@@ -88,7 +88,7 @@ int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared)
{
int ret = OK;
- dbg("attr=0x%p pshared=%d\n", attr, pshared);
+ sdbg("attr=0x%p pshared=%d\n", attr, pshared);
if (!attr || (pshared != 0 && pshared != 1))
{
@@ -99,6 +99,6 @@ int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared)
attr->pshared = pshared;
}
- dbg("Returning %d\n", ret);
+ sdbg("Returning %d\n", ret);
return ret;
}