Better error message.

This commit is contained in:
augustss 2001-11-16 02:21:54 +00:00
parent 3db4a768d4
commit 3b323cfaae
1 changed files with 4 additions and 4 deletions

View File

@ -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 */