diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/nptl/fork.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2015-01-13 Torvald Riegel <triegel@redhat.com> + + * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex + variable to lll_futex_wake call, not the value itself. + 2015-01-12 Joseph Myers <joseph@codesourcery.com> [BZ #17803] diff --git a/sysdeps/nptl/fork.c b/sysdeps/nptl/fork.c index 5cffd82..74482b7 100644 --- a/sysdeps/nptl/fork.c +++ b/sysdeps/nptl/fork.c @@ -219,7 +219,7 @@ __libc_fork (void) if (atomic_decrement_and_test (&allp->handler->refcntr) && allp->handler->need_signal) - lll_futex_wake (allp->handler->refcntr, 1, LLL_PRIVATE); + lll_futex_wake (&allp->handler->refcntr, 1, LLL_PRIVATE); allp = allp->next; } |