You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/04/26 18:09:24 UTC
[incubator-nuttx] branch master updated: sched:fix mq_timedsend describe
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3dc07ac6b4 sched:fix mq_timedsend describe
3dc07ac6b4 is described below
commit 3dc07ac6b4d8d774b3d4bb2e81a5bbfb1d91027f
Author: anjiahao <an...@xiaomi.com>
AuthorDate: Tue Apr 26 18:25:08 2022 +0800
sched:fix mq_timedsend describe
Signed-off-by: anjiahao <an...@xiaomi.com>
---
sched/mqueue/mq_timedsend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sched/mqueue/mq_timedsend.c b/sched/mqueue/mq_timedsend.c
index 0a57d16d72..94760b19a7 100644
--- a/sched/mqueue/mq_timedsend.c
+++ b/sched/mqueue/mq_timedsend.c
@@ -403,7 +403,7 @@ int nxmq_timedsend(mqd_t mqdes, FAR const char *msg, size_t msglen,
* On success, mq_send() returns 0 (OK); on error, -1 (ERROR)
* is returned, with errno set to indicate the error:
*
- * EAGAIN The queue was empty, and the O_NONBLOCK flag was set for the
+ * EAGAIN The queue was full, and the O_NONBLOCK flag was set for the
* message queue description referred to by mqdes.
* EINVAL Either msg or mqdes is NULL or the value of prio is invalid.
* EPERM Message queue opened not opened for writing.