summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_signal.c
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/compat/svr4/svr4_signal.c
parent74d260749ea58c587f154bf4c0ffa1cfbac01cc9 (diff)
ss_sp is correct, ss_base is not. noticed by agc@sde.uts.amdahl.com; netbsd pr#1784
Diffstat (limited to 'sys/compat/svr4/svr4_signal.c')
-rw-r--r--sys/compat/svr4/svr4_signal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_signal.c b/sys/compat/svr4/svr4_signal.c
index 21b65d2962e..51810886d35 100644
--- a/sys/compat/svr4/svr4_signal.c
+++ b/sys/compat/svr4/svr4_signal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_signal.c,v 1.19 1995/10/07 06:27:46 mycroft Exp $ */
+/* $NetBSD: svr4_signal.c,v 1.20 1996/01/04 22:23:06 jtc Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
@@ -224,7 +224,7 @@ svr4_to_bsd_sigaltstack(sss, bss)
struct sigaltstack *bss;
{
- bss->ss_base = sss->ss_sp;
+ bss->ss_sp = sss->ss_sp;
bss->ss_size = sss->ss_size;
bss->ss_flags = 0;
@@ -240,7 +240,7 @@ bsd_to_svr4_sigaltstack(bss, sss)
struct svr4_sigaltstack *sss;
{
- sss->ss_sp = bss->ss_base;
+ sss->ss_sp = bss->ss_sp;
sss->ss_size = bss->ss_size;
sss->ss_flags = 0;