diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-09-07 16:20:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-09-07 16:20:08 +0000 |
commit | 8ad0406c2f1f7ea16f5d62d653a4cd00c8700f33 (patch) | |
tree | 80a16ee4b420a0ca7183f0cac2eb26c45dbeefa2 /sys | |
parent | 2373c47647337e81fccba6d6ae7a89bdaebbdcbe (diff) |
do not accidentally clear other ss_flags bits
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 44dec6c6609..0fab1f26264 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.16 2001/09/07 15:44:08 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.17 2001/09/07 16:20:07 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -598,7 +598,7 @@ sendsig(catcher, sig, mask, code, type, val) (psp->ps_sigonstack & sigmask(sig))) { fp = (struct sigframe *)((caddr_t)psp->ps_sigstk.ss_sp + psp->ps_sigstk.ss_size); - psp->ps_sigstk.ss_flags = SS_ONSTACK; + psp->ps_sigstk.ss_flags |= SS_ONSTACK; } else fp = (struct sigframe *)oldsp; /* Allocate an aligned sigframe */ |