[COMMITTED PATCH] Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.
Roland McGrath
roland@hack.frob.com
Fri Dec 12 22:02:00 GMT 2014
An old typo.
2014-12-12 Roland McGrath <roland@hack.frob.com>
* nptl/pthread_create.c (START_THREAD_DEFN)
[! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -414,7 +414,7 @@ START_THREAD_DEFN
this->__list.__next = NULL;
atomic_or (&this->__lock, FUTEX_OWNER_DIED);
- lll_futex_wake (this->__lock, 1, /* XYZ */ LLL_SHARED);
+ lll_futex_wake (&this->__lock, 1, /* XYZ */ LLL_SHARED);
}
while (robust != (void *) &pd->robust_head);
}
More information about the Libc-alpha
mailing list