summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2010-12-15 16:22:16 +0000
committerjasper <jasper@openbsd.org>2010-12-15 16:22:16 +0000
commit9072182f421c759ca34399b3ee7a6b240be7b71e (patch)
tree99e8345d8671cda02751323543ec0a5cac09a96d
parent- add CAVEATS section and mention that on multiport devices, only the first (diff)
downloadwireguard-openbsd-9072182f421c759ca34399b3ee7a6b240be7b71e.tar.xz
wireguard-openbsd-9072182f421c759ca34399b3ee7a6b240be7b71e.zip
- the firmware download succeeded message should be wrapped in DPRINTF().
ok jsg@
-rw-r--r--sys/dev/usb/uticom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uticom.c b/sys/dev/usb/uticom.c
index f88104ec72a..3e486c51359 100644
--- a/sys/dev/usb/uticom.c
+++ b/sys/dev/usb/uticom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uticom.c,v 1.9 2010/12/15 14:55:04 jasper Exp $ */
+/* $OpenBSD: uticom.c,v 1.10 2010/12/15 16:22:16 jasper Exp $ */
/*
* Copyright (c) 2005 Dmitry Komissaroff <dxi@mail.ru>.
*
@@ -304,8 +304,8 @@ uticom_attach(struct device *parent, struct device *self, void *aux)
sc->sc_dying = 1;
return;
} else {
- printf("%s: firmware download succeeded\n",
- sc->sc_dev.dv_xname);
+ DPRINTF(("%s: firmware download succeeded\n",
+ sc->sc_dev.dv_xname));
}
status = usbd_reload_device_desc(dev);