about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-08-30 18:27:47 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-08-30 18:28:27 +0200
commit9681c61f11d08f757398c5fb74d676db3e78a576 (patch)
treef34b1556f2f9b67a9e8aa690ecba76beaf22a563 /sysdeps
parent3c05dd79d04da765b1ec93ea97474b3b8d9e0af3 (diff)
downloadglibc-9681c61f11d08f757398c5fb74d676db3e78a576.tar.gz
glibc-9681c61f11d08f757398c5fb74d676db3e78a576.tar.xz
glibc-9681c61f11d08f757398c5fb74d676db3e78a576.zip
hurd: Fix build
* sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): Spin-lock '&ss->lock',
not 'ss'.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/i386/sigreturn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/sigreturn.c b/sysdeps/mach/hurd/i386/sigreturn.c
index c9eaf96f7d..111ca33b54 100644
--- a/sysdeps/mach/hurd/i386/sigreturn.c
+++ b/sysdeps/mach/hurd/i386/sigreturn.c
@@ -30,7 +30,7 @@ static void
 __sigreturn2 (int *usp)
 {
   struct hurd_sigstate *ss = _hurd_self_sigstate ();
-  __spin_unlock (ss);
+  __spin_unlock (&ss->lock);
 
   sp = usp;
 #define A(line) asm volatile (#line)