summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_udav.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_udav.c')
-rw-r--r--sys/dev/usb/if_udav.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c
index ac77567c0c3..46b0afd6a97 100644
--- a/sys/dev/usb/if_udav.c
+++ b/sys/dev/usb/if_udav.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_udav.c,v 1.38 2007/11/01 11:43:28 deraadt Exp $ */
+/* $OpenBSD: if_udav.c,v 1.39 2007/11/01 17:10:34 deraadt Exp $ */
/* $NetBSD: if_udav.c,v 1.3 2004/04/23 17:25:25 itojun Exp $ */
/* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */
/*
@@ -234,7 +234,7 @@ udav_attach(struct device *parent, struct device *self, void *aux)
for (i = 0; i < id->bNumEndpoints; i++) {
ed = usbd_interface2endpoint_descriptor(sc->sc_ctl_iface, i);
if (ed == NULL) {
- printf(", couldn't get endpoint %d\n", i);
+ printf("couldn't get endpoint %d\n", i);
goto bad;
}
if ((ed->bmAttributes & UE_XFERTYPE) == UE_BULK &&
@@ -268,7 +268,7 @@ udav_attach(struct device *parent, struct device *self, void *aux)
}
/* Print Ethernet Address */
- printf("address %s\n", devname, ether_sprintf(eaddr));
+ printf("address %s\n", ether_sprintf(eaddr));
bcopy(eaddr, (char *)&sc->sc_ac.ac_enaddr, ETHER_ADDR_LEN);