Module Name: src
Committed By: dyoung
Date: Wed Nov 3 22:59:40 UTC 2010
Modified Files:
src/sys/dev/usb: uhub.c
Log Message:
Change a stray USBDEVNAME to device_xname(). Only affects DIAGNOSTIC
kernels.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/dev/usb/uhub.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/uhub.c
diff -u src/sys/dev/usb/uhub.c:1.111 src/sys/dev/usb/uhub.c:1.112
--- src/sys/dev/usb/uhub.c:1.111 Wed Nov 3 22:34:24 2010
+++ src/sys/dev/usb/uhub.c Wed Nov 3 22:59:40 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uhub.c,v 1.111 2010/11/03 22:34:24 dyoung Exp $ */
+/* $NetBSD: uhub.c,v 1.112 2010/11/03 22:59:40 dyoung Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
/*
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.111 2010/11/03 22:34:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.112 2010/11/03 22:59:40 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -529,7 +529,7 @@
/* Not allowed send/receive packet. */
#ifdef DIAGNOSTIC
printf("%s: port %d, device not enable\n",
- USBDEVNAME(sc->sc_dev), port);
+ device_xname(sc->sc_dev), port);
#endif
continue;
}