about summary refs log tree commit diff
path: root/sysdeps/htl/pt-cond-destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-cond-destroy.c')
-rw-r--r--sysdeps/htl/pt-cond-destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pt-cond-destroy.c b/sysdeps/htl/pt-cond-destroy.c
index 722516a8e2..3fc1b42594 100644
--- a/sysdeps/htl/pt-cond-destroy.c
+++ b/sysdeps/htl/pt-cond-destroy.c
@@ -35,7 +35,7 @@ __pthread_cond_destroy (pthread_cond_t *cond)
 
   while (wrefs >> 1 != 0)
     {
-      gsync_wait (__mach_task_self (), (vm_offset_t) &cond->__wrefs, wrefs,
+      __gsync_wait (__mach_task_self (), (vm_offset_t) &cond->__wrefs, wrefs,
 		  0, 0, 0);
       wrefs = atomic_load_acquire (&cond->__wrefs);
     }