diff options
author | 2010-07-02 05:45:25 +0000 | |
---|---|---|
committer | 2010-07-02 05:45:25 +0000 | |
commit | 2902cea14a88093b42c962a50c3d3d64a92a9294 (patch) | |
tree | e6dd18218371ce787471ccc551d59fe55f16b752 | |
parent | Dump parsed schema to buffer and send in requests for the cn=schema (diff) | |
download | wireguard-openbsd-2902cea14a88093b42c962a50c3d3d64a92a9294.tar.xz wireguard-openbsd-2902cea14a88093b42c962a50c3d3d64a92a9294.zip |
timeout_add -> timeout_add_msec
ok claudio@
-rw-r--r-- | sys/netatalk/aarp.c | 4 | ||||
-rw-r--r-- | sys/netatalk/at_control.c | 4 |
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; |