diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2007-11-23 22:32:52 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2007-11-23 22:32:52 +0000 |
commit | aacec419a1a5cf8c2de8d8b1cd0eab511d6c55d1 (patch) | |
tree | 4c931c8603e4c674f6eec802044b430a953536db /nuttx/sched/pthread_condinit.c | |
parent | d1fbff3aafd0f2ee0ccc8a9315c6f39a57f74277 (diff) |
Debug can now be selectively enabled by subystem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@404 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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 90ee127827..98c68c87d2 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; } |