summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/semopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/semopen.c')
-rw-r--r--c/src/exec/posix/src/semopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/semopen.c b/c/src/exec/posix/src/semopen.c
index ca2f79fe67..d956f9a86b 100644
--- a/c/src/exec/posix/src/semopen.c
+++ b/c/src/exec/posix/src/semopen.c
@@ -76,7 +76,7 @@ sem_t *sem_open(
if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {
_Thread_Enable_dispatch();
- set_errno_and_return_minus_one_cast( status, sem_t * );
+ rtems_set_errno_and_return_minus_one_cast( status, sem_t * );
}
} else {
@@ -86,7 +86,7 @@ sem_t *sem_open(
if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {
_Thread_Enable_dispatch();
- set_errno_and_return_minus_one_cast( EEXIST, sem_t * );
+ rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );
}
the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );