diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2020-01-21 00:18:14 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2020-01-21 00:18:14 +0000 |
commit | 1d550900bcb34eeef5b656bc353d7759d4e39130 (patch) | |
tree | 182b0b1e102b2f71dd7bfbcbbdcb0a953009c467 /sys/nfs/nfs_kq.c | |
parent | f8396493d7637ffd4147d5f0c1904d5e075113f8 (diff) |
sys/nfs: misc. tsleep(9) -> tsleep_nsec(9); ok mpi@
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); } } |