aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-04-07 17:05:50 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-04-07 17:05:50 +0000
commit5de3d8b11f8b446dbd2357d0f230ae8cb00effa3 (patch)
tree9e759e371a7ed0f9c9e0042e267ad8fa9e1da190 /sys/dev
parenta0864e3a2a2d1705f7612e6dfb13e19d5869cd81 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uhid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 70dae3af1fa7..ca49ac9234a4 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhid.c,v 1.43 2001/08/15 00:06:49 augustss Exp $ */
+/* $NetBSD: uhid.c,v 1.44 2001/09/15 16:16:28 yamt Exp $ */
/* $FreeBSD$ */
/*
@@ -380,7 +380,7 @@ uhid_intr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status)
if (sc->sc_state & UHID_ASLP) {
sc->sc_state &= ~UHID_ASLP;
- DPRINTFN(5, ("uhid_intr: waking %p\n", sc));
+ DPRINTFN(5, ("uhid_intr: waking %p\n", &sc->sc_q));
wakeup(&sc->sc_q);
}
selwakeup(&sc->sc_rsel);
@@ -491,7 +491,7 @@ uhid_do_read(struct uhid_softc *sc, struct uio *uio, int flag)
return (EWOULDBLOCK);
}
sc->sc_state |= UHID_ASLP;
- DPRINTFN(5, ("uhidread: sleep on %p\n", sc));
+ DPRINTFN(5, ("uhidread: sleep on %p\n", &sc->sc_q));
error = tsleep(&sc->sc_q, PZERO | PCATCH, "uhidrea", 0);
DPRINTFN(5, ("uhidread: woke, error=%d\n", error));
if (sc->sc_dying)