Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Change a stray USBDEVNAME to device_xname(). On...
details: https://anonhg.NetBSD.org/src/rev/fe2d89976a64
branches: trunk
changeset: 758391:fe2d89976a64
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Nov 03 22:59:40 2010 +0000
description:
Change a stray USBDEVNAME to device_xname(). Only affects DIAGNOSTIC
kernels.
diffstat:
sys/dev/usb/uhub.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2bdf341ef2d1 -r fe2d89976a64 sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c Wed Nov 03 22:40:51 2010 +0000
+++ b/sys/dev/usb/uhub.c Wed Nov 03 22:59:40 2010 +0000
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index