summaryrefslogtreecommitdiff
path: root/sys/netatalk
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2010-07-02 05:45:26 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2010-07-02 05:45:26 +0000
commit880b1d94a9dd375820940e6ee20892d996fe3b3d (patch)
tree485248bdca9cf81c796de48bbd80a1588d55572a /sys/netatalk
parentfeee5618724608016262d9d30337d44e8defc5f3 (diff)
timeout_add -> timeout_add_msec
ok claudio@
Diffstat (limited to 'sys/netatalk')
-rw-r--r--sys/netatalk/aarp.c4
-rw-r--r--sys/netatalk/at_control.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c
index 62a7739b4dc..3a0e97b2ed8 100644
--- a/sys/netatalk/aarp.c
+++ b/sys/netatalk/aarp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aarp.c,v 1.9 2009/11/13 15:07:23 claudio Exp $ */
+/* $OpenBSD: aarp.c,v 1.10 2010/07/02 05:45:25 blambert Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -635,7 +635,7 @@ aarpprobe( arg )
return;
} else {
timeout_set(&aarpprobe_timeout, aarpprobe, ac);
- timeout_add(&aarpprobe_timeout, hz / 5);
+ timeout_add_msec(&aarpprobe_timeout, 200);
}
if (( m = m_gethdr( M_DONTWAIT, MT_DATA )) == NULL ) {
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c
index b7a1856378a..b43d14a98ce 100644
--- a/sys/netatalk/at_control.c
+++ b/sys/netatalk/at_control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: at_control.c,v 1.15 2010/01/13 02:13:12 henning Exp $ */
+/* $OpenBSD: at_control.c,v 1.16 2010/07/02 05:45:25 blambert Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -399,7 +399,7 @@ at_ifinit( ifp, aa, sat )
aa->aa_probcnt = 10;
timeout_set(&aarpprobe_timeout, aarpprobe, ifp);
/* XXX don't use hz so badly */
- timeout_add(&aarpprobe_timeout, hz / 5);
+ timeout_add_msec(&aarpprobe_timeout, 200);
if ( tsleep( aa, PPAUSE|PCATCH, "at_ifinit", 0 )) {
printf( "at_ifinit why did this happen?!\n" );
aa->aa_addr = oldaddr;