diff options
Diffstat (limited to 'cpukit/posix/src/semaphorenametoid.c')
-rw-r--r-- | cpukit/posix/src/semaphorenametoid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c index 2051cb07ca..071745c3d5 100644 --- a/cpukit/posix/src/semaphorenametoid.c +++ b/cpukit/posix/src/semaphorenametoid.c @@ -48,8 +48,8 @@ int _POSIX_Semaphore_Name_to_id( if ( !name[0] ) return EINVAL; - status = _Objects_Name_to_id( - &_POSIX_Semaphore_Information, (char *)name, 0, (Objects_Id*)id ); + status = _Objects_Name_to_id_string( + &_POSIX_Semaphore_Information, name, 0, (Objects_Id*)id ); if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL ) return 0; |