summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-10 21:58:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-10 21:58:17 +0000
commit2d5efeca979a928bb10ba33f505e30d20ca46c68 (patch)
treef628d7cf377533ce228da3e20ac11dd800ac441b /sys/arch/i386/isa
parentfb06ed88b5810f53d16a2f3f90904ed7ea4de07a (diff)
Switch uiomovei(..., sizeof whatever, ...) to uiomove().
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/joy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/joy.c b/sys/arch/i386/isa/joy.c
index 91bbf514cde..c867eaf3899 100644
--- a/sys/arch/i386/isa/joy.c
+++ b/sys/arch/i386/isa/joy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: joy.c,v 1.14 2015/02/10 21:56:09 miod Exp $ */
+/* $OpenBSD: joy.c,v 1.15 2015/02/10 21:58:16 miod Exp $ */
/* $NetBSD: joy.c,v 1.3 1996/05/05 19:46:15 christos Exp $ */
/*-
@@ -123,7 +123,7 @@ joyread(dev_t dev, struct uio *uio, int flag)
state >>= 4;
c.b1 = ~state & 1;
c.b2 = ~(state >> 1) & 1;
- return uiomovei((caddr_t) & c, sizeof(struct joystick), uio);
+ return uiomove((caddr_t) & c, sizeof(struct joystick), uio);
}
int