[rtems commit] rtems: Fix rtems_semaphore_release() documentation
Sebastian Huber
sebh at rtems.org
Wed Apr 7 05:11:17 UTC 2021
Module: rtems
Branch: master
Commit: 809b76ec3b7820ab29484170775b1f1289b1e859
Changeset: http://git.rtems.org/rtems/commit/?id=809b76ec3b7820ab29484170775b1f1289b1e859
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 7 07:08:43 2021 +0200
rtems: Fix rtems_semaphore_release() documentation
The directive returns RTEMS_UNSATISFIED if the semaphore's count already
had the maximum value of UINT32_MAX.
---
cpukit/include/rtems/rtems/sem.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/include/rtems/rtems/sem.h b/cpukit/include/rtems/rtems/sem.h
index e117f1c..ec3b6c6 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
More information about the vc
mailing list