diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-20 14:46:19 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-20 14:46:19 +0000 |
commit | a93aeafed0a3b24d4ef7e560d18ddf40a139d82b (patch) | |
tree | 85b0e9bfee2046a29390edb1fbf9268872464487 /sys/kern/kern_sig.c | |
parent | 48a6c6af8368c4ef96a49c974a9151ae0a67bd08 (diff) |
GCC 2.8 caught this type error, thanks
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 9bbc51c67d4..edaa3cb481d 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.25 1998/01/09 16:41:09 csapuntz Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.26 1998/02/20 14:46:18 niklas Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -1001,6 +1001,7 @@ postsig(signum) register sig_t action; u_long code; int mask, returnmask; + union sigval null_sigval; #ifdef DIAGNOSTIC if (signum == 0) @@ -1060,8 +1061,9 @@ postsig(signum) code = ps->ps_code; ps->ps_code = 0; } + null_sigval.sival_ptr = 0; (*p->p_emul->e_sendsig)(action, signum, returnmask, code, - SI_USER, (union sigval *)0); + SI_USER, null_sigval); } } |