summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_attrgetschedpolicy.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_attrgetschedpolicy.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_attrgetschedpolicy.c')
-rw-r--r--nuttx/sched/pthread_attrgetschedpolicy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/pthread_attrgetschedpolicy.c b/nuttx/sched/pthread_attrgetschedpolicy.c
index 67948cd95..a61a7a6a2 100644
--- a/nuttx/sched/pthread_attrgetschedpolicy.c
+++ b/nuttx/sched/pthread_attrgetschedpolicy.c
@@ -89,7 +89,7 @@ int pthread_attr_getschedpolicy(pthread_attr_t *attr, int *policy)
{
int ret;
- dbg("attr=0x%p policy=0x%p\n", attr, policy);
+ sdbg("attr=0x%p policy=0x%p\n", attr, policy);
if (!attr || !policy)
{
@@ -101,6 +101,6 @@ int pthread_attr_getschedpolicy(pthread_attr_t *attr, int *policy)
ret = OK;
}
- dbg("Returning %d\n", ret);
+ sdbg("Returning %d\n", ret);
return ret;
}