Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Better error message.
details: https://anonhg.NetBSD.org/src/rev/aa58f8956fef
branches: trunk
changeset: 517609:aa58f8956fef
user: augustss <augustss%NetBSD.org@localhost>
date: Fri Nov 16 02:21:54 2001 +0000
description:
Better error message.
diffstat:
sys/dev/usb/uhub.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 3ed79c4ba472 -r aa58f8956fef sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c Fri Nov 16 01:57:47 2001 +0000
+++ b/sys/dev/usb/uhub.c Fri Nov 16 02:21:54 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhub.c,v 1.54 2001/11/16 01:57:47 augustss Exp $ */
+/* $NetBSD: uhub.c,v 1.55 2001/11/16 02:21:54 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
/*
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.54 2001/11/16 01:57:47 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.55 2001/11/16 02:21:54 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -425,8 +425,8 @@
/* Reset port, which implies enabling it. */
if (usbd_reset_port(dev, port, &up->status)) {
- printf("uhub_explore: port=%d reset failed\n",
- port);
+ printf("%s: port %d reset failed\n",
+ USBDEVNAME(sc->sc_dev), port);
continue;
}
/* Get port status again, it might have changed during reset */
Home |
Main Index |
Thread Index |
Old Index