From 3b323cfaaea55ed907c023e06a3c135abfcff0f3 Mon Sep 17 00:00:00 2001 From: augustss Date: Fri, 16 Nov 2001 02:21:54 +0000 Subject: [PATCH] Better error message. --- sys/dev/usb/uhub.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index 7e7a73d57f1c..fd8483243006 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 -__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 #include @@ -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 */