summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-07 07:11:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-07 07:12:32 +0200
commit241cd068d3e1539b37181a78cd0f6ce12b5e5309 (patch)
tree3ae1cdbc45e3a0088988437f2e76e4e023210a61
parenttools/boot-image.rst: Master Boot Record is MBR not MRB (diff)
downloadrtems-docs-241cd068d3e1539b37181a78cd0f6ce12b5e5309.tar.bz2
c-user: Fix rtems_semaphore_release() docs
The directive returns RTEMS_UNSATISFIED if the semaphore's count already had the maximum value of UINT32_MAX.
-rw-r--r--c-user/semaphore/directives.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/c-user/semaphore/directives.rst b/c-user/semaphore/directives.rst
index 2d07e1c..54f40a4 100644
--- a/c-user/semaphore/directives.rst
+++ b/c-user/semaphore/directives.rst
@@ -651,7 +651,7 @@ wait queue is not empty, then
:c:macro:`RTEMS_NOT_OWNER_OF_RESOURCE`
The calling task was not the owner of the semaphore.
-:c:macro:`RTEMS_INTERNAL_ERROR`
+:c:macro:`RTEMS_UNSATISFIED`
The semaphore's count already had the maximum value of `UINT32_MAX
<https://en.cppreference.com/w/c/types/integer>`_.