summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-03-23 15:55:53 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-03-23 15:55:53 +0000
commit851f77ddede3a7e21325d392cab45701028a0982 (patch)
tree6aaec0825dab30265795c85cd73630df7f65469b /sys/kern/kern_exec.c
parenteff301b275cbbb52f8cf06f0c68dab24c0485605 (diff)
Use the new timeout facilities for ITIMER_REAL.
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index aab946407fe..15ed8af28fe 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.40 2000/03/22 21:35:37 mickey Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.41 2000/03/23 15:55:52 art Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -566,7 +566,7 @@ sys_execve(p, v, retval)
if (p->p_flag & P_SUGIDEXEC) {
int i, s = splclock();
- untimeout(realitexpire, (void *)p);
+ timeout_del(&p->p_realit_to);
timerclear(&p->p_realtimer.it_interval);
timerclear(&p->p_realtimer.it_value);
for (i = 0; i < sizeof(p->p_stats->p_timer) /