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 | b6472b58dcce32d4ab2051f13cef89a6f0296c28 (patch) | |
tree | d518e0fc4392bc0990718a7692e3b09a0934b79a /nuttx/sched/task_childstatus.c | |
parent | a2ec48846f786e72a976038c9467b25a61ad5a9f (diff) | |
download | px4-firmware-b6472b58dcce32d4ab2051f13cef89a6f0296c28.tar.gz px4-firmware-b6472b58dcce32d4ab2051f13cef89a6f0296c28.tar.bz2 px4-firmware-b6472b58dcce32d4ab2051f13cef89a6f0296c28.zip |
Fix some compilation errors when child status disabled; new waitpid logic not encoding/decoding status properly
git-svn-id: http://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) { |