diff options
Diffstat (limited to 'sys/nfs/nfs_kq.c')
-rw-r--r-- | sys/nfs/nfs_kq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_kq.c b/sys/nfs/nfs_kq.c index 67cad81b4b5..e5976d28560 100644 --- a/sys/nfs/nfs_kq.c +++ b/sys/nfs/nfs_kq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_kq.c,v 1.27 2019/12/31 13:48:32 visa Exp $ */ +/* $OpenBSD: nfs_kq.c,v 1.28 2020/01/21 00:18:13 cheloha Exp $ */ /* $NetBSD: nfs_kq.c,v 1.7 2003/10/30 01:43:10 simonb Exp $ */ /*- @@ -173,8 +173,8 @@ next: rw_exit_write(&nfskevq_lock); /* wait a while before checking for changes again */ - tsleep(pnfskq, PSOCK, "nfskqpw", NFS_MINATTRTIMO * hz / 2); - + tsleep_nsec(pnfskq, PSOCK, "nfskqpw", + SEC_TO_NSEC(NFS_MINATTRTIMO) / 2); } } |