summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2010-07-02 15:02:39 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2010-07-02 15:02:39 +0000
commitd9cee16486e7eab51371ca2f36a7b3e0fed59efe (patch)
treee99ad9a997f30102d6b8edad11015fa1926e52f5 /sys/kern
parentbe88ab55c1859eac36ec93f246ad6d766a5fe100 (diff)
timeout_add -> timeout_add_msec
ok claudio@ krw@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_domain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 11cdc5bd71e..0098c12af3f 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_domain.c,v 1.29 2009/11/13 20:54:05 claudio Exp $ */
+/* $OpenBSD: uipc_domain.c,v 1.30 2010/07/02 15:02:38 blambert Exp $ */
/* $NetBSD: uipc_domain.c,v 1.14 1996/02/09 19:00:44 christos Exp $ */
/*
@@ -252,7 +252,7 @@ pfslowtimo(void *arg)
for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
if (pr->pr_slowtimo)
(*pr->pr_slowtimo)();
- timeout_add(to, hz/2);
+ timeout_add_msec(to, 500);
}
void
@@ -266,5 +266,5 @@ pffasttimo(void *arg)
for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
if (pr->pr_fasttimo)
(*pr->pr_fasttimo)();
- timeout_add(to, hz/5);
+ timeout_add_msec(to, 200);
}