summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-07 07:08:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-07 07:10:51 +0200
commit809b76ec3b7820ab29484170775b1f1289b1e859 (patch)
tree597b4cebc0f43bc21da37cd2aa7dd4ba95f10d7f
parentvalidation: Fix unused variable warning (diff)
downloadrtems-809b76ec3b7820ab29484170775b1f1289b1e859.tar.bz2
rtems: Fix rtems_semaphore_release() documentation
The directive returns RTEMS_UNSATISFIED if the semaphore's count already had the maximum value of UINT32_MAX.
-rw-r--r--cpukit/include/rtems/rtems/sem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/rtems/sem.h b/cpukit/include/rtems/rtems/sem.h
index e117f1c211..ec3b6c671a 100644
--- a/cpukit/include/rtems/rtems/sem.h
+++ b/cpukit/include/rtems/rtems/sem.h
@@ -572,7 +572,7 @@ rtems_status_code rtems_semaphore_obtain(
* @retval ::RTEMS_NOT_OWNER_OF_RESOURCE The calling task was not the owner of
* the semaphore.
*
- * @retval ::RTEMS_INTERNAL_ERROR The semaphore's count already had the maximum
+ * @retval ::RTEMS_UNSATISFIED The semaphore's count already had the maximum
* value of UINT32_MAX.
*
* @par Notes