summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/seminit.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/seminit.c')
-rw-r--r--c/src/exec/posix/src/seminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/posix/src/seminit.c b/c/src/exec/posix/src/seminit.c
index 5b8b8f177f..0635ebea0f 100644
--- a/c/src/exec/posix/src/seminit.c
+++ b/c/src/exec/posix/src/seminit.c
@@ -35,7 +35,7 @@ int sem_init(
POSIX_Semaphore_Control *the_semaphore;
if ( !sem )
- set_errno_and_return_minus_one( EINVAL );
+ rtems_set_errno_and_return_minus_one( EINVAL );
status = _POSIX_Semaphore_Create_support(
NULL,