summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ugen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index d500d4f1daa..6fa37f3f683 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ugen.c,v 1.12 2000/11/08 18:10:38 aaron Exp $ */
+/* $OpenBSD: ugen.c,v 1.13 2000/11/21 18:45:53 mickey Exp $ */
/* $NetBSD: ugen.c,v 1.43 2000/10/24 14:53:59 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -488,9 +488,7 @@ ugen_do_read(struct ugen_softc *sc, int endpt, struct uio *uio, int flag)
int error = 0;
u_char buffer[UGEN_CHUNK];
-#ifdef __NetBSD__
- DPRINTFN(5, ("ugenread: %d:%d\n", sc->sc_dev.dv_unit, endpt));
-#endif
+ DPRINTFN(5, ("%s: ugenread: %d\n", USBDEVNAME(sc->sc_dev), endpt));
if (sc->sc_dying)
return (EIO);