diff options
Diffstat (limited to 'sysdeps/mach/hurd/sigaltstack.c')
-rw-r--r-- | sysdeps/mach/hurd/sigaltstack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/sigaltstack.c b/sysdeps/mach/hurd/sigaltstack.c index 02bdfdd4d5..fc1a9e1bd9 100644 --- a/sysdeps/mach/hurd/sigaltstack.c +++ b/sysdeps/mach/hurd/sigaltstack.c @@ -36,8 +36,9 @@ __sigaltstack (const stack_t *argss, stack_t *oss) s = _hurd_self_sigstate (); __spin_lock (&s->lock); - if (argss != NULL && - (ss.ss_flags & SS_DISABLE) && (s->sigaltstack.ss_flags & SS_ONSTACK)) + if (argss != NULL + && (ss.ss_flags & SS_DISABLE) + && (s->sigaltstack.ss_flags & SS_ONSTACK)) { /* Can't disable a stack that is in use. */ __spin_unlock (&s->lock); |