diff options
author | joe <joe@FreeBSD.org> | 2002-01-02 23:31:08 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-01-02 23:31:08 +0000 |
commit | 3cb6f9217c7d74ac67ec00ccaaaaa382c8ee6e65 (patch) | |
tree | 8ffee5e9e1aa552ea45ba8ceb50f56433abd3f9f /sys/dev/usb/urio.c | |
parent | bbfc99065f15d39a43ebe6ba942a6bbda7ce441e (diff) | |
download | FreeBSD-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.c | 2 |
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); |