diff options
Diffstat (limited to 'c/src/exec/posix/src/sempost.c')
-rw-r--r-- | c/src/exec/posix/src/sempost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/sempost.c b/c/src/exec/posix/src/sempost.c index 50c4eefdd8..187e511253 100644 --- a/c/src/exec/posix/src/sempost.c +++ b/c/src/exec/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, |