This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 12 Dec 2014 14:02:07 -0800 (PST)
- Subject: [COMMITTED PATCH] Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.
- Authentication-results: sourceware.org; auth=none
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);
}