summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 3783cd31258..33749d3d38b 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.48 2001/09/20 23:30:29 art Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.49 2001/09/21 21:36:48 deraadt Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -387,10 +387,11 @@ void
execsigs(p)
register struct proc *p;
{
- register struct sigacts *ps = p->p_sigacts;
+ register struct sigacts *ps;
register int nc, mask;
sigactsunshare(p);
+ ps = p->p_sigacts;
/*
* Reset caught signals. Held signals remain held