summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/semaphorecreatesupp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/posix/src/semaphorecreatesupp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/posix/src/semaphorecreatesupp.c b/cpukit/posix/src/semaphorecreatesupp.c
index fb87f0f8a6..0ee09f5fa6 100644
--- a/cpukit/posix/src/semaphorecreatesupp.c
+++ b/cpukit/posix/src/semaphorecreatesupp.c
@@ -106,7 +106,11 @@ int _POSIX_Semaphore_Create_support(
* Make the semaphore available for use.
*/
- _Objects_Open(&_POSIX_Semaphore_Information, &the_semaphore->Object, name_p);
+ _Objects_Open_string(
+ &_POSIX_Semaphore_Information,
+ &the_semaphore->Object,
+ name_p
+ );
*the_sem = the_semaphore;