summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umass_quirks.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 14:49:02 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 14:49:02 +0000
commitb36c9f662da72870bf22394171cf74a54a7f8e39 (patch)
tree2641ee87f027aa978ea64bc95fe33bcf03d1d500 /sys/dev/usb/umass_quirks.c
parent2bca40ff67d19c516b42ca70c28870f34f7388dc (diff)
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
Diffstat (limited to 'sys/dev/usb/umass_quirks.c')
-rw-r--r--sys/dev/usb/umass_quirks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umass_quirks.c b/sys/dev/usb/umass_quirks.c
index a192316e12f..fb7682c0026 100644
--- a/sys/dev/usb/umass_quirks.c
+++ b/sys/dev/usb/umass_quirks.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass_quirks.c,v 1.27 2007/06/05 08:43:56 mbalmer Exp $ */
+/* $OpenBSD: umass_quirks.c,v 1.28 2007/06/10 14:49:01 mbalmer Exp $ */
/* $NetBSD: umass_quirks.c,v 1.67 2004/06/28 07:49:16 mycroft Exp $ */
/*
@@ -482,7 +482,7 @@ umass_init_insystem(struct umass_softc *sc)
if (err) {
DPRINTF(UDMASS_USB,
("%s: could not switch to Alt Interface 1\n",
- USBDEVNAME(sc->sc_dev)));
+ sc->sc_dev.dv_xname));
return (err);
}