aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-01-12 12:46:36 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-01-12 12:46:36 +0000
commit037e9444313409872103d5f2c8efe40cc925ccc4 (patch)
tree231c62ad80e026699e7aa1dfda7cbafc2ef5502a /sys/dev
parentf65b39828c68af424bdb5dd0505f0764a1295a5e (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ugen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 942c554aa80b..86162a322928 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -835,7 +835,7 @@ ugenioctl(dev, cmd, addr, flag, p)
uio.uio_segflg = UIO_USERSPACE;
uio.uio_rw = UIO_READ;
uio.uio_procp = p;
- error = uiomove(cdesc, len, &uio);
+ error = uiomove((caddr_t)cdesc, len, &uio);
free(cdesc, M_TEMP);
return (error);
}