diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2008-06-21 22:28:22 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2008-06-21 22:28:22 +0000 |
commit | 5ec0538ef4822446c489c842acfd83f7befc362f (patch) | |
tree | c50aff40f970e1c401b8dcf23f5e5a089f61afe9 | |
parent | 859bacba1b3b54eb8b1037506b7aca776c4a1b32 (diff) |
print vendor and product in hexa on debug.
-rw-r--r-- | sys/dev/usb/usb_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index f067dbb72ed..ac6317ef5ff 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb_subr.c,v 1.66 2008/05/19 15:51:43 fgsch Exp $ */ +/* $OpenBSD: usb_subr.c,v 1.67 2008/06/21 22:28:21 fgsch Exp $ */ /* $NetBSD: usb_subr.c,v 1.103 2003/01/10 11:19:13 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */ @@ -1217,7 +1217,7 @@ usbd_submatch(struct device *parent, void *match, void *aux) struct usb_attach_arg *uaa = aux; DPRINTFN(5,("usbd_submatch port=%d,%d configno=%d,%d " - "ifaceno=%d,%d vendor=%d,%d product=%d,%d release=%d,%d\n", + "ifaceno=%d,%d vendor=0x%x,0x%x product=0x%x,0x%x release=%d,%d\n", uaa->port, cf->uhubcf_port, uaa->configno, cf->uhubcf_configuration, uaa->ifaceno, cf->uhubcf_interface, |