summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kempf <stefan@cvs.openbsd.org>2016-01-11 17:29:44 +0000
committerStefan Kempf <stefan@cvs.openbsd.org>2016-01-11 17:29:44 +0000
commitec1acd1ed5cd0c49da0a5f4a1e0d0998e8bdab02 (patch)
tree943cb25c32476efa781783d142b9d1510a08ee9c
parentc094d83ea3a56aa4081a3e730caf33de880bb937 (diff)
Use uiomove() instead of uiomovei(); from Martin Natano
ok kettenis@
-rw-r--r--sys/dev/ksyms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ksyms.c b/sys/dev/ksyms.c
index ee519f1a00a..4c15218ce02 100644
--- a/sys/dev/ksyms.c
+++ b/sys/dev/ksyms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ksyms.c,v 1.30 2015/08/29 01:58:39 guenther Exp $ */
+/* $OpenBSD: ksyms.c,v 1.31 2016/01/11 17:29:43 stefan Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
@@ -164,7 +164,7 @@ ksymsread(dev_t dev, struct uio *uio, int flags)
if (len > uio->uio_resid)
len = uio->uio_resid;
- if ((error = uiomovei(v, len, uio)) != 0)
+ if ((error = uiomove(v, len, uio)) != 0)
return (error);
}