summary refs log tree commit diff
path: root/nptl/sem_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sem_close.c')
-rw-r--r--nptl/sem_close.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sem_close.c b/nptl/sem_close.c
index 279522d086..9bde63d983 100644
--- a/nptl/sem_close.c
+++ b/nptl/sem_close.c
@@ -47,7 +47,7 @@ sem_close (sem)
   int result = 0;
 
   /* Get the lock.  */
-  lll_lock (__sem_mappings_lock);
+  lll_lock (__sem_mappings_lock, LLL_PRIVATE);
 
   /* Locate the entry for the mapping the caller provided.  */
   rec = NULL;
@@ -75,7 +75,7 @@ sem_close (sem)
     }
 
   /* Release the lock.  */
-  lll_unlock (__sem_mappings_lock);
+  lll_unlock (__sem_mappings_lock, LLL_PRIVATE);
 
   return result;
 }