]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
authorJakub Jelinek <jakub@redhat.com>
Tue, 15 Apr 2008 15:00:30 +0000 (15:00 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 15 Apr 2008 15:00:30 +0000 (15:00 +0000)
(__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().

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c

index 36dd01d57d4d5cf90825d25b270dfeebd92c5840..a1cb40c46ee81019390c3044091c12cec2e2d244 100644 (file)
@@ -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
index 3c71c969b844282935bd714ed895a6fd885fa2be..b14f976a61f0aab28301bf90a1e0a6f5b1d4b93c 100644 (file)
@@ -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.  */
This page took 0.052487 seconds and 5 git commands to generate.