summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/semaphorenametoid.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/posix/src/semaphorenametoid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c
index e5d15cd7ed..303c00d979 100644
--- a/cpukit/posix/src/semaphorenametoid.c
+++ b/cpukit/posix/src/semaphorenametoid.c
@@ -33,7 +33,7 @@ int _POSIX_Semaphore_Name_to_id(
sem_t *id
)
{
- Objects_Name_to_id_errors status;
+ Objects_Name_or_id_lookup_errors status;
if ( !name )
return EINVAL;
@@ -44,7 +44,7 @@ int _POSIX_Semaphore_Name_to_id(
status = _Objects_Name_to_id(
&_POSIX_Semaphore_Information, (char *)name, 0, (Objects_Id*)id );
- if ( status == OBJECTS_SUCCESSFUL )
+ if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )
return 0;
return ENOENT;