summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_timedsend.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/mq_timedsend.c')
-rw-r--r--nuttx/sched/mq_timedsend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/mq_timedsend.c b/nuttx/sched/mq_timedsend.c
index 76e3fda5d..012bd2ab0 100644
--- a/nuttx/sched/mq_timedsend.c
+++ b/nuttx/sched/mq_timedsend.c
@@ -113,7 +113,7 @@ static void mq_sndtimeout(int argc, uint32 pid)
{
/* Mark the errno value for the thread. */
- wtcb->errno = ETIMEDOUT;
+ wtcb->pterrno = ETIMEDOUT;
/* Restart the the task. */