summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
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/alpha
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/alpha')
-rw-r--r--sys/arch/alpha/alpha/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index d87cd3bcb16..1959c82755c 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.13 1995/12/20 00:19:49 cgd Exp $ */
+/* $NetBSD: machdep.c,v 1.14 1996/01/04 22:21:33 jtc Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -1039,7 +1039,7 @@ sendsig(catcher, sig, mask, code)
*/
if ((psp->ps_flags & SAS_ALTSTACK) && !oonstack &&
(psp->ps_sigonstack & sigmask(sig))) {
- scp = (struct sigcontext *)(psp->ps_sigstk.ss_base +
+ scp = (struct sigcontext *)(psp->ps_sigstk.ss_sp +
psp->ps_sigstk.ss_size - rndfsize);
psp->ps_sigstk.ss_flags |= SS_ONSTACK;
} else