Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Make the DPRINTF text for bulk in/out opening er...



details:   https://anonhg.NetBSD.org/src/rev/e26155a234eb
branches:  trunk
changeset: 555664:e26155a234eb
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Mon Nov 24 19:47:07 2003 +0000

description:
Make the DPRINTF text for bulk in/out opening errors match which one
is in and which one is out.

diffstat:

 sys/dev/usb/ucom.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 9b6eb0067c85 -r e26155a234eb sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Mon Nov 24 18:00:49 2003 +0000
+++ b/sys/dev/usb/ucom.c        Mon Nov 24 19:47:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.51 2003/06/29 22:30:55 fvdl Exp $   */
+/*     $NetBSD: ucom.c,v 1.52 2003/11/24 19:47:07 nathanw Exp $        */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.51 2003/06/29 22:30:55 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.52 2003/11/24 19:47:07 nathanw Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -404,7 +404,7 @@
                err = usbd_open_pipe(sc->sc_iface, sc->sc_bulkin_no, 0,
                                     &sc->sc_bulkin_pipe);
                if (err) {
-                       DPRINTF(("%s: open bulk out error (addr %d), err=%s\n",
+                       DPRINTF(("%s: open bulk in error (addr %d), err=%s\n",
                                 USBDEVNAME(sc->sc_dev), sc->sc_bulkin_no,
                                 usbd_errstr(err)));
                        error = EIO;
@@ -413,7 +413,7 @@
                err = usbd_open_pipe(sc->sc_iface, sc->sc_bulkout_no,
                                     USBD_EXCLUSIVE_USE, &sc->sc_bulkout_pipe);
                if (err) {
-                       DPRINTF(("%s: open bulk in error (addr %d), err=%s\n",
+                       DPRINTF(("%s: open bulk out error (addr %d), err=%s\n",
                                 USBDEVNAME(sc->sc_dev), sc->sc_bulkout_no,
                                 usbd_errstr(err)));
                        error = EIO;



Home | Main Index | Thread Index | Old Index