summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_io.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-01-09 11:34:58 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-01-09 11:34:58 +0000
commit8c7d088a2fedd10d0d46533f85cfcb6e9b3955c2 (patch)
tree2dd22ab0306efba7802d0451479a23dae8579bf9 /sys/uvm/uvm_io.c
parent01c59c0df499b0a472e322d7544ce6abd898207f (diff)
Use uiomove(9) instead of uiomovei(9). From Martin Natano.
Diffstat (limited to 'sys/uvm/uvm_io.c')
-rw-r--r--sys/uvm/uvm_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_io.c b/sys/uvm/uvm_io.c
index 1d90c2c0bb4..6ebc1cb9c0b 100644
--- a/sys/uvm/uvm_io.c
+++ b/sys/uvm/uvm_io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_io.c,v 1.25 2015/03/14 03:38:53 jsg Exp $ */
+/* $OpenBSD: uvm_io.c,v 1.26 2016/01/09 11:34:27 kettenis Exp $ */
/* $NetBSD: uvm_io.c,v 1.12 2000/06/27 17:29:23 mrg Exp $ */
/*
@@ -109,7 +109,7 @@ uvm_io(vm_map_t map, struct uio *uio, int flags)
sz = chunksz - pageoffset;
if (sz > togo)
sz = togo;
- error = uiomovei((caddr_t) (kva + pageoffset), sz, uio);
+ error = uiomove((caddr_t) (kva + pageoffset), sz, uio);
togo -= sz;
baseva += chunksz;