mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
(__old_sem_wait): Fix argument to lll_futex_wait(). 2008-04-14 David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c (__old_sem_wait): Fix argument to lll_futex_wait().
This commit is contained in:
parent
9e113ecd80
commit
2313c48fa9
@ -1,3 +1,8 @@
|
||||
2008-04-14 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
|
||||
(__old_sem_wait): Fix argument to lll_futex_wait().
|
||||
|
||||
2007-11-26 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* pthread_create.c: Require pthread_mutex_trylock and
|
||||
|
@ -155,7 +155,7 @@ __old_sem_wait (sem_t *sem)
|
||||
/* Enable asynchronous cancellation. Required by the standard. */
|
||||
int oldtype = __pthread_enable_asynccancel ();
|
||||
|
||||
err = lll_futex_wait (futex, 0,
|
||||
err = lll_futex_wait (&isem->value, 0,
|
||||
isem->private ^ FUTEX_PRIVATE_FLAG);
|
||||
|
||||
/* Disable asynchronous cancellation. */
|
||||
|
Loading…
Reference in New Issue
Block a user