summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_RDWR.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/VOP_RDWR.9')
-rw-r--r--share/man/man9/VOP_RDWR.92
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9
index d2e8680..4aaea5a 100644
--- a/share/man/man9/VOP_RDWR.9
+++ b/share/man/man9/VOP_RDWR.9
@@ -207,7 +207,7 @@ vop_write(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred)
if (error) {
if (ioflag & IO_UNIT) {
- VOP_TRUNCATE(vp, osize, ioflag & IO_SYNC, cred, uio->uio_procp);
+ VOP_TRUNCATE(vp, osize, ioflag & IO_SYNC, cred, uio->uio_td);
uio->uio_offset -= resid - uio->uio_resid;
uio->uio_resid = resid;
}
OpenPOWER on IntegriCloud