From f7abb9c9bb21029485fc94a1873414a3ffe71a32 Mon Sep 17 00:00:00 2001 From: guenther Date: Thu, 15 May 2014 04:36:33 +0000 Subject: [PATCH] Prefer prsignal() to send process signals --- sys/kern/kern_time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index f48c3a2af86..bbf0d488506 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_time.c,v 1.87 2014/01/30 21:01:59 kettenis Exp $ */ +/* $OpenBSD: kern_time.c,v 1.88 2014/05/15 04:36:33 guenther Exp $ */ /* $NetBSD: kern_time.c,v 1.20 1996/02/18 11:57:06 fvdl Exp $ */ /* @@ -598,7 +598,7 @@ realitexpire(void *arg) struct process *pr = arg; struct itimerval *tp = &pr->ps_timer[ITIMER_REAL]; - psignal(pr->ps_mainproc, SIGALRM); + prsignal(pr, SIGALRM); if (!timerisset(&tp->it_interval)) { timerclear(&tp->it_value); return; -- 2.20.1