summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:46:54 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:46:54 +0000
commited01445d8fef7073d654de0f4ef50405221591e2 (patch)
tree057f0cd831e7571064316d6cd028a7bac4d0448f /sys/dev/usb/usb.c
parentbce94723a476f60db891598165cfe3faf4675aa0 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 9457ef241b4b..cf2f20bd0b2c 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -562,7 +562,7 @@ usbpoll(dev, events, td)
revents |= events & mask;
if (revents == 0 && (events & mask)) {
DPRINTFN(2,("usb: sleeping on %p\n", &usb_selevent));
- selrecord(curthread, &usb_selevent);
+ selrecord(td, &usb_selevent);
}
splx(s);