(__unregister_atfork): Pass pointer to refcntr to lll_futex_wait.
authordrepper <drepper>
Thu, 11 Dec 2003 09:37:32 +0000 (09:37 +0000)
committerdrepper <drepper>
Thu, 11 Dec 2003 09:37:32 +0000 (09:37 +0000)
nptl/sysdeps/unix/sysv/linux/unregister-atfork.c

index ac4b3c5..72c8d61 100644 (file)
@@ -104,7 +104,7 @@ __unregister_atfork (dso_handle)
       atomic_decrement (&deleted->handler->refcntr);
       unsigned int val;
       while ((val = deleted->handler->refcntr) != 0)
-       lll_futex_wait (deleted->handler->refcntr, val);
+       lll_futex_wait (&deleted->handler->refcntr, val);
 
       deleted = deleted->next;
     }