summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-02 23:31:08 +0000
committerjoe <joe@FreeBSD.org>2002-01-02 23:31:08 +0000
commit3cb6f9217c7d74ac67ec00ccaaaaa382c8ee6e65 (patch)
tree8ffee5e9e1aa552ea45ba8ceb50f56433abd3f9f /sys/dev/usb/urio.c
parentbbfc99065f15d39a43ebe6ba942a6bbda7ce441e (diff)
downloadFreeBSD-src-3cb6f9217c7d74ac67ec00ccaaaaa382c8ee6e65.zip
FreeBSD-src-3cb6f9217c7d74ac67ec00ccaaaaa382c8ee6e65.tar.gz
Revert uio.uio_td back to uio.uio_procp, using a #define in usb_port to
do the right thing on -current.
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index e53cd1c..dc01ef3 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -585,7 +585,7 @@ urioioctl(dev, cmd, addr, flag, p)
uio.uio_rw =
req.bmRequestType & UT_READ ?
UIO_READ : UIO_WRITE;
- uio.uio_td = p;
+ uio.uio_procp = p;
ptr = malloc(len, M_TEMP, M_WAITOK);
if (uio.uio_rw == UIO_WRITE) {
error = uiomove(ptr, len, &uio);
OpenPOWER on IntegriCloud