summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_waitid.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-04 22:38:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-04 22:38:59 +0000
commit70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2 (patch)
tree8f6f8829ea4e5a7f5bd1a48503aa7308bbf90e4e /nuttx/sched/sched_waitid.c
parentf34406ac488b6d5fb2f50f026e1964fb33ae649d (diff)
downloadpx4-nuttx-70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2.tar.gz
px4-nuttx-70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2.tar.bz2
px4-nuttx-70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2.zip
Bugfix: whenever a thread it must report the PID of the main task (even it is not the main task) with SIGCHLD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5612 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_waitid.c')
-rw-r--r--nuttx/sched/sched_waitid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/sched_waitid.c b/nuttx/sched/sched_waitid.c
index e75cf4987..545353e8b 100644
--- a/nuttx/sched/sched_waitid.c
+++ b/nuttx/sched/sched_waitid.c
@@ -405,4 +405,5 @@ errout:
return ERROR;
}
-#endif /* CONFIG_SCHED_WAITPID && CONFIG_SCHED_HAVE_PARENT*/
+#endif /* CONFIG_SCHED_WAITPID && CONFIG_SCHED_HAVE_PARENT */
+