diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-02 01:38:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-02 01:38:12 +0000 |
commit | 584792b398e50f41973f78ac60ba00bd2aa87dc1 (patch) | |
tree | 5c97efa51a400673bd7044d8c21394c59edfc6d5 /sys/arch | |
parent | 4111f9c128ea7b72ecdb0491b8100eb9916038da (diff) |
siginfo stuff
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m68k/m68k/sunos_machdep.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/m68k/m68k/sunos_machdep.c b/sys/arch/m68k/m68k/sunos_machdep.c index 7eb4e91d62a..329facb48d0 100644 --- a/sys/arch/m68k/m68k/sunos_machdep.c +++ b/sys/arch/m68k/m68k/sunos_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos_machdep.c,v 1.9 1997/01/27 22:48:13 deraadt Exp $ */ +/* $OpenBSD: sunos_machdep.c,v 1.10 1997/02/02 01:38:11 deraadt Exp $ */ /* $NetBSD: sunos_machdep.c,v 1.12 1996/10/13 03:19:22 christos Exp $ */ /* @@ -95,11 +95,12 @@ struct sunos_sigframe { * SIG_DFL for "dangerous" signals. */ void -sunos_sendsig(catcher, sig, mask, code, addr) +sunos_sendsig(catcher, sig, mask, code, type, val) sig_t catcher; int sig, mask; u_long code; - caddr_t addr; + int type; + union sigval val; { register struct proc *p = curproc; register struct sunos_sigframe *fp; @@ -173,7 +174,7 @@ sunos_sendsig(catcher, sig, mask, code, addr) kfp.sf_signum = sig; kfp.sf_code = code; kfp.sf_scp = &fp->sf_sc; - kfp.sf_addr = (u_int)addr; + kfp.sf_addr = (u_int)val.sival_ptr; /* * Build the signal context to be used by sigreturn. |