Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Improve a debug message.



details:   https://anonhg.NetBSD.org/src/rev/b21dfa838431
branches:  trunk
changeset: 499682:b21dfa838431
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Nov 26 21:05:02 2000 +0000

description:
Improve a debug message.

diffstat:

 sys/dev/usb/ugen.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 3cf3938c24e4 -r b21dfa838431 sys/dev/usb/ugen.c
--- a/sys/dev/usb/ugen.c        Sun Nov 26 21:04:43 2000 +0000
+++ b/sys/dev/usb/ugen.c        Sun Nov 26 21:05:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ugen.c,v 1.43 2000/10/24 14:53:59 augustss Exp $       */
+/*     $NetBSD: ugen.c,v 1.44 2000/11/26 21:05:02 augustss Exp $       */
 /*     $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $       */
 
 /*
@@ -487,9 +487,7 @@
        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);



Home | Main Index | Thread Index | Old Index