summaryrefslogtreecommitdiff
path: root/sys/arch/pica
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-05 16:18:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-05 16:18:39 +0000
commit965838951ec63319efe3d6acd3340bd8e44de631 (patch)
tree6dbdd602ebc67aca4d54f0965f5eba949d5ab1e2 /sys/arch/pica
parent74d260749ea58c587f154bf4c0ffa1cfbac01cc9 (diff)
ss_sp is correct, ss_base is not. noticed by agc@sde.uts.amdahl.com; netbsd pr#1784
Diffstat (limited to 'sys/arch/pica')
-rw-r--r--sys/arch/pica/pica/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/pica/pica/machdep.c b/sys/arch/pica/pica/machdep.c
index 7a9c8f081d3..a93b28adc12 100644
--- a/sys/arch/pica/pica/machdep.c
+++ b/sys/arch/pica/pica/machdep.c
@@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 8.3 (Berkeley) 1/12/94
- * $Id: machdep.c,v 1.4 1995/10/28 23:09:55 deraadt Exp $
+ * $Id: machdep.c,v 1.5 1996/01/05 16:18:09 deraadt Exp $
*/
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@@ -721,7 +721,7 @@ sendsig(catcher, sig, mask, code)
if ((psp->ps_flags & SAS_ALTSTACK) &&
(psp->ps_sigstk.ss_flags & SA_ONSTACK) == 0 &&
(psp->ps_sigonstack & sigmask(sig))) {
- fp = (struct sigframe *)(psp->ps_sigstk.ss_base +
+ fp = (struct sigframe *)(psp->ps_sigstk.ss_sp +
psp->ps_sigstk.ss_size - fsize);
psp->ps_sigstk.ss_flags |= SA_ONSTACK;
} else