[PATCH] rtems: Fix message manager documentation

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 15 09:48:44 UTC 2021


Correct the description of the ``count`` parameter of
rtems_message_queue_flush().

Update #4508.
---
 cpukit/include/rtems/rtems/message.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/include/rtems/rtems/message.h b/cpukit/include/rtems/rtems/message.h
index f288d94445..28014f325e 100644
--- a/cpukit/include/rtems/rtems/message.h
+++ b/cpukit/include/rtems/rtems/message.h
@@ -859,8 +859,8 @@ rtems_status_code rtems_message_queue_get_number_pending(
  * @param id is the queue identifier.
  *
  * @param[out] count is the pointer to an uint32_t object.  When the directive
- *   call is successful, the number of unblocked tasks will be stored in this
- *   object.
+ *   call is successful, the number of pending messages removed from the queue
+ *   will be stored in this object.
  *
  * This directive removes all pending messages from the queue specified by
  * ``id``.  The number of messages removed is returned in ``count``.  If no
-- 
2.31.1



More information about the devel mailing list