diff mbox

[COMMITTED] Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.

Message ID 20141212220207.5A5C52C3ADB@topped-with-meat.com
State New
Headers show

Commit Message

Roland McGrath Dec. 12, 2014, 10:02 p.m. UTC
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.
diff mbox

Patch

--- 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);
     }