diff options
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 9457ef2..cf2f20b 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); |