diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-25 00:01:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-25 00:01:08 +0000 |
commit | 1520663dd52c25496f285eb2e08077318c600759 (patch) | |
tree | d518e0fc4392bc0990718a7692e3b09a0934b79a /nuttx/sched/task_childstatus.c | |
parent | 2a8490551299ccfdfa300c1b859719c08581e553 (diff) | |
download | px4-nuttx-1520663dd52c25496f285eb2e08077318c600759.tar.gz px4-nuttx-1520663dd52c25496f285eb2e08077318c600759.tar.bz2 px4-nuttx-1520663dd52c25496f285eb2e08077318c600759.zip |
Fix some compilation errors when child status disabled; new waitpid logic not encoding/decoding status properly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5561 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/task_childstatus.c')
-rw-r--r-- | nuttx/sched/task_childstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/task_childstatus.c b/nuttx/sched/task_childstatus.c index 09aa48135..6007f03e5 100644 --- a/nuttx/sched/task_childstatus.c +++ b/nuttx/sched/task_childstatus.c @@ -121,7 +121,7 @@ static void task_dumpchildren(FAR _TCB *tcb, FAR const char *msg) } } #else -# task_dumpchildren(t,m) +# define task_dumpchildren(t,m) #endif /***************************************************************************** @@ -320,7 +320,7 @@ FAR struct child_status_s *task_exitchild(FAR _TCB *tcb) { FAR struct child_status_s *child; - /* Find the status structure with the matching PID */ + /* Find the status structure of any child task that has exitted. */ for (child = tcb->children; child; child = child->flink) { |