diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2015-06-11 16:00:37 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2015-06-11 16:00:37 +0000 |
commit | 98f50252ec3279697a880aee84b3ddf114bc969e (patch) | |
tree | 91ba4eab61589070b3facdf166888655c682655b | |
parent | 771837ae081d675267bc2b832d98eb0d20854f5f (diff) |
Convert from hzto(9) to tvtohz(9); OK dlg
-rw-r--r-- | sys/nfs/nfs_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c index 9edd6154a49..63c66c2d53c 100644 --- a/sys/nfs/nfs_socket.c +++ b/sys/nfs/nfs_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_socket.c,v 1.108 2015/03/14 03:38:52 jsg Exp $ */ +/* $OpenBSD: nfs_socket.c,v 1.109 2015/06/11 16:00:36 mikeb Exp $ */ /* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */ /* @@ -1005,9 +1005,9 @@ tryagain: error == NFSERR_TRYLATER) { m_freem(info.nmi_mrep); error = 0; - tv.tv_sec = time_second + trylater_delay; + tv.tv_sec = trylater_delay; tv.tv_usec = 0; - tsleep(&tv, PSOCK, "nfsretry", hzto(&tv)); + tsleep(&tv, PSOCK, "nfsretry", tvtohz(&tv)); trylater_delay *= NFS_TIMEOUTMUL; if (trylater_delay > NFS_MAXTIMEO) trylater_delay = NFS_MAXTIMEO; |