From 809b76ec3b7820ab29484170775b1f1289b1e859 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 7 Apr 2021 07:08:43 +0200 Subject: 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 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 -- cgit v1.2.3