summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-07-20 16:34:34 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-07-20 16:34:34 +0000
commit1274b0a88bc0164ab1016a6df6bca4e3641e1ad8 (patch)
tree00d235d0f49369194de780f2e53e07b82dba1752 /sys
parentc0ffdd4438d0be84504883db5d2ffac5ed996722 (diff)
set uio_procp correctly in uvn_io.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_vnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index e8a61043dda..6dc5f6d8b16 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1685,7 +1685,7 @@ uvn_io(uvn, pps, npages, flags, rw)
uio.uio_segflg = UIO_SYSSPACE;
uio.uio_rw = rw;
uio.uio_resid = wanted;
- uio.uio_procp = NULL;
+ uio.uio_procp = curproc;
/*
* do the I/O! (XXX: curproc?)