summaryrefslogtreecommitdiff
path: root/nuttx/sched/sem_timedwait.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-19 20:08:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-19 20:08:28 +0000
commite22652b8670c85c11bed70615d97273d455d58a9 (patch)
treeafb799c4411fe56a1af05c4e25d5f44453691cbe /nuttx/sched/sem_timedwait.c
parent40e9e372738c38180562ab1ff3b1f91d42c14cdd (diff)
downloadpx4-nuttx-e22652b8670c85c11bed70615d97273d455d58a9.tar.gz
px4-nuttx-e22652b8670c85c11bed70615d97273d455d58a9.tar.bz2
px4-nuttx-e22652b8670c85c11bed70615d97273d455d58a9.zip
Setup environment to support multiple fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3799 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sem_timedwait.c')
-rw-r--r--nuttx/sched/sem_timedwait.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/sched/sem_timedwait.c b/nuttx/sched/sem_timedwait.c
index c02bc48db..7b01d22d8 100644
--- a/nuttx/sched/sem_timedwait.c
+++ b/nuttx/sched/sem_timedwait.c
@@ -271,7 +271,9 @@ int sem_timedwait(FAR sem_t *sem, FAR const struct timespec *abstime)
wd_delete(wdog);
/* We are either returning success or an error detected by sem_wait()
- * or the timeout detected by sem_timeout().
+ * or the timeout detected by sem_timeout(). The 'errno' value has
+ * been set appropriately by sem_wait() or sem_timeout() in those
+ * cases.
*/
return ret;