diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-01 17:10:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-01 17:10:35 +0000 |
commit | c8056bc2c18e37239bfe670bd71f8d9e62ab7c80 (patch) | |
tree | 66d4c2fe7918597a1431cc368f2815c658cf0a1a /sys/dev | |
parent | d14e0113f351f83eec18365888c58c14d739ba30 (diff) |
even better attach printing; Nicholas Marriott
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/if_udav.c | 6 |
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); |