summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
commit447ea046b5b4aba425b2879f683099c1cfa3713f (patch)
tree8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/net
parentb302a033156f300c77b20b1eb011b4ceaccff009 (diff)
Second pass of simple timeout_add -> timeout_add_sec conversions
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/trunklacp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/trunklacp.c b/sys/net/trunklacp.c
index 03ef3339ce2..53bc15d83ff 100644
--- a/sys/net/trunklacp.c
+++ b/sys/net/trunklacp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trunklacp.c,v 1.5 2008/10/12 19:03:12 mpf Exp $ */
+/* $OpenBSD: trunklacp.c,v 1.6 2008/10/15 19:12:18 blambert Exp $ */
/* $NetBSD: ieee8023ad_lacp.c,v 1.3 2005/12/11 12:24:54 christos Exp $ */
/* $FreeBSD:ieee8023ad_lacp.c,v 1.15 2008/03/16 19:25:30 thompsa Exp $ */
@@ -500,7 +500,7 @@ lacp_tick(void *arg)
lacp_sm_tx(lp);
lacp_sm_ptx_tx_schedule(lp);
}
- timeout_add(&lsc->lsc_callout, hz);
+ timeout_add_sec(&lsc->lsc_callout, 1);
}
int
@@ -762,7 +762,7 @@ lacp_init(struct trunk_softc *sc)
{
struct lacp_softc *lsc = LACP_SOFTC(sc);
- timeout_add(&lsc->lsc_callout, hz);
+ timeout_add_sec(&lsc->lsc_callout, 1);
}
void