diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-10-16 10:22:02 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-10-16 10:22:02 +0000 |
commit | 40df61e3245150ba2e89ef2ef022f38308edf5b7 (patch) | |
tree | c9f49de43124871ae1e2d0d7e492091f109fc8ac /sys/netinet/if_ether.c | |
parent | 0f4fcf5d1b09ac20a5f9eb253001d28ebb0ba6e2 (diff) |
tsleep(9) -> tsleep_nsec(9)
ok cheloha@, visa@
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 8ae1dd1dd36..e23c94ab4c1 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.240 2019/07/17 16:46:18 mpi Exp $ */ +/* $OpenBSD: if_ether.c,v 1.241 2019/10/16 10:22:01 mpi Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -914,7 +914,8 @@ revarpwhoarewe(struct ifnet *ifp, struct in_addr *serv_in, revarp_ifidx = ifp->if_index; while (count--) { revarprequest(ifp); - result = tsleep((caddr_t)&revarp_myip, PSOCK, "revarp", hz/2); + result = tsleep_nsec(&revarp_myip, PSOCK, "revarp", + MSEC_TO_NSEC(500)); if (result != EWOULDBLOCK) break; } |