aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2000-11-30 05:23:49 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2000-11-30 05:23:49 +0000
commitd034d459daf039d21ff432e30dfb48c27ac4d09d (patch)
treef3cce8cb66940f910e5e0c8d18a553dea75cf9ac /sys/compat
parent083e9ed543e19ff1706dc609b11ff50ca92f1028 (diff)
Notes
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_signal.c b/sys/compat/svr4/svr4_signal.c
index c80538edb42a..84f8ce07725f 100644
--- a/sys/compat/svr4/svr4_signal.c
+++ b/sys/compat/svr4/svr4_signal.c
@@ -628,7 +628,7 @@ svr4_sys_context(p, uap)
case 0:
DPRINTF(("getcontext(%p)\n", uap->uc));
svr4_getcontext(p, &uc, &p->p_sigmask,
- p->p_sigstk.ss_flags & SS_ONSTACK);
+ sigonstack(cpu_getstack(p)));
return copyout(&uc, uap->uc, sizeof(uc));
case 1: