summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-11-21 18:45:54 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-11-21 18:45:54 +0000
commit900786e6823155e8caf39c8fc128f05c3c55a8a0 (patch)
tree8a96de35316742118703fb77e4818b43ee2f1296
parent21bc7f4b36cf50444ec966007bd9c85e20c67b2a (diff)
be consistant w/ ugenwrite on dprintf; aaron@ ok
-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);