diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-04-15 15:00:30 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-04-15 15:00:30 +0000 |
commit | 2313c48fa98843a07c636999ad7a2d821166541c (patch) | |
tree | 311fba4272db22bfb27b91255a8e4d419fb2dd92 /nptl/sysdeps/unix/sysv/linux/sparc | |
parent | 9e113ecd8031b17c2d9be312cf9cb0b59e8d471a (diff) | |
download | glibc-2313c48fa98843a07c636999ad7a2d821166541c.tar.gz glibc-2313c48fa98843a07c636999ad7a2d821166541c.tar.xz glibc-2313c48fa98843a07c636999ad7a2d821166541c.zip |
* 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().
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sparc')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c index 3c71c969b8..b14f976a61 100644 --- a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c +++ b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c @@ -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. */ |