From 9e5335ed874515b33aa296c1cd8e7a8b640472c9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 18 Dec 2010 08:09:25 -0800 Subject: sem_open.c/sem_unlink.c: Use INTUSE macro to get proper function call to __pthread_once We need to use __pthread_once_internal if available this macro is therefore used to notify that. Signed-off-by: Khem Raj --- libpthread/nptl/sem_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/nptl/sem_open.c') diff --git a/libpthread/nptl/sem_open.c b/libpthread/nptl/sem_open.c index 28dd3aa90..71bebb00a 100644 --- a/libpthread/nptl/sem_open.c +++ b/libpthread/nptl/sem_open.c @@ -248,7 +248,7 @@ sem_open (const char *name, int oflag, ...) int fd; /* Determine where the shmfs is mounted. */ - __pthread_once (&__namedsem_once, __where_is_shmfs); + INTUSE(__pthread_once) (&__namedsem_once, __where_is_shmfs); /* If we don't know the mount points there is nothing we can do. Ever. */ if (mountpoint.dir == NULL) -- cgit v1.2.3