summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>2001-11-16 02:21:54 +0000
committeraugustss <augustss@NetBSD.org>2001-11-16 02:21:54 +0000
commit3b323cfaaea55ed907c023e06a3c135abfcff0f3 (patch)
tree479fbcc1c16908d1c7c728bff83820de4343ef12 /sys/dev
parent3db4a768d4aa21845af9912117e1b890c69a7760 (diff)
Better error message.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uhub.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 7e7a73d57f1..fd848324300 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -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 @@ uhub_explore(usbd_device_handle dev)
/* 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 */