This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED PATCH] Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]