summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/sempost.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/sempost.c')
-rw-r--r--cpukit/posix/src/sempost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c
index 50c4eefdd8..187e511253 100644
--- a/cpukit/posix/src/sempost.c
+++ b/cpukit/posix/src/sempost.c
@@ -35,11 +35,11 @@ int sem_post(
the_semaphore = _POSIX_Semaphore_Get( sem, &location );
switch ( location ) {
case OBJECTS_ERROR:
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
case OBJECTS_REMOTE:
_Thread_Dispatch();
return POSIX_MP_NOT_IMPLEMENTED();
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
case OBJECTS_LOCAL:
_CORE_semaphore_Surrender(
&the_semaphore->Semaphore,