diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-26 16:22:12 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-26 16:22:12 +0000 |
commit | 8cac65949ce77a37b9b7fdf48f3c50aafaac3666 (patch) | |
tree | d74afb142d2626d267f4c62a8c6e366a74a99b0d /sys | |
parent | 6c8d550876217963343c39dbaba074c69ab12558 (diff) |
use new timeouts
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/hpux/hpux_compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/hpux/hpux_compat.c b/sys/compat/hpux/hpux_compat.c index 22a1f6280a0..f55d32cd2ae 100644 --- a/sys/compat/hpux/hpux_compat.c +++ b/sys/compat/hpux/hpux_compat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_compat.c,v 1.10 1997/07/06 07:27:59 downsj Exp $ */ +/* $OpenBSD: hpux_compat.c,v 1.11 2000/06/26 16:22:11 art Exp $ */ /* $NetBSD: hpux_compat.c,v 1.35 1997/05/08 16:19:48 mycroft Exp $ */ /* @@ -1299,7 +1299,7 @@ hpux_sys_alarm_6x(p, v, retval) } */ *uap = v; int s = splhigh(); - untimeout(realitexpire, (caddr_t)p); + timeout_del(&p->p_realit_to); timerclear(&p->p_realtimer.it_interval); *retval = 0; if (timerisset(&p->p_realtimer.it_value) && @@ -1312,7 +1312,7 @@ hpux_sys_alarm_6x(p, v, retval) } p->p_realtimer.it_value = time; p->p_realtimer.it_value.tv_sec += SCARG(uap, deltat); - timeout(realitexpire, (caddr_t)p, hzto(&p->p_realtimer.it_value)); + timeout_add(&p->p_realit_to, hzto(&p->p_realtimer.it_value)); splx(s); return (0); } |