summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_serv.c
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2009-01-27 23:40:14 +0000
committerblambert <blambert@openbsd.org>2009-01-27 23:40:14 +0000
commita6b37fb4db2bcb11827b4ae06361c9c000e5f27e (patch)
treea9fd3dc181d1058fad69debe4012bba8899877a6 /sys/nfs/nfs_serv.c
parentinstead of relying on socket permissions to allow or disallow imsg's that (diff)
downloadwireguard-openbsd-a6b37fb4db2bcb11827b4ae06361c9c000e5f27e.tar.xz
wireguard-openbsd-a6b37fb4db2bcb11827b4ae06361c9c000e5f27e.zip
Correct my timeradd() thinko in nfsrv_writegather()
pointed out by bluhm@, "obvious" thib@
Diffstat (limited to 'sys/nfs/nfs_serv.c')
-rw-r--r--sys/nfs/nfs_serv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c
index 62e64c8cc17..21a8406ee6d 100644
--- a/sys/nfs/nfs_serv.c
+++ b/sys/nfs/nfs_serv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_serv.c,v 1.62 2009/01/24 23:35:47 thib Exp $ */
+/* $OpenBSD: nfs_serv.c,v 1.63 2009/01/27 23:40:14 blambert Exp $ */
/* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */
/*
@@ -896,7 +896,7 @@ nfsrv_writegather(ndp, slp, procp, mrq)
nfsd->nd_mreq = NULL;
nfsd->nd_stable = NFSV3WRITE_FILESYNC;
getmicrotime(&tv);
- timeradd(&nfsd->nd_time, &nfsrvw_procrastinate_tv, &nfsd->nd_time);
+ timeradd(&tv, &nfsrvw_procrastinate_tv, &nfsd->nd_time);
/*
* Now, get the write header..