From 965838951ec63319efe3d6acd3340bd8e44de631 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 5 Jan 1996 16:18:39 +0000 Subject: ss_sp is correct, ss_base is not. noticed by agc@sde.uts.amdahl.com; netbsd pr#1784 --- sys/arch/amiga/amiga/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/arch/amiga') diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c index 9df950ecd35..41fa2c1c656 100644 --- a/sys/arch/amiga/amiga/machdep.c +++ b/sys/arch/amiga/amiga/machdep.c @@ -579,7 +579,7 @@ sendsig(catcher, sig, mask, code) */ if ((psp->ps_flags & SAS_ALTSTACK) && oonstack == 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 - sizeof(struct sigframe)); psp->ps_sigstk.ss_flags |= SS_ONSTACK; } else -- cgit v1.2.3