diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-23 22:32:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-23 22:32:52 +0000 |
commit | 2937aaaaf09c2f0d5b46b1a2a30eac962d8455d3 (patch) | |
tree | 4c931c8603e4c674f6eec802044b430a953536db /nuttx/sched/pthread_condinit.c | |
parent | fa64306fac12fed8522ab0facdb2cd7f211b2d30 (diff) | |
download | px4-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_condinit.c')
-rw-r--r-- | nuttx/sched/pthread_condinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/pthread_condinit.c b/nuttx/sched/pthread_condinit.c index 90ee12782..98c68c87d 100644 --- a/nuttx/sched/pthread_condinit.c +++ b/nuttx/sched/pthread_condinit.c @@ -67,7 +67,7 @@ int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *attr) { int ret = OK; - dbg("cond=0x%p attr=0x%p\n", cond, attr); + sdbg("cond=0x%p attr=0x%p\n", cond, attr); if (!cond) { @@ -83,7 +83,7 @@ int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *attr) ret = EINVAL; } - dbg("Returning %d\n", ret); + sdbg("Returning %d\n", ret); return ret; } |