summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-06 02:51:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-06 02:51:47 +0000
commit35d6263f840b4c6c7bf3dff1860b9827a8c081dc (patch)
tree0881db20e681765f05a4958406e7160d04707c59
parent2082b273d6ddce882e7e80b4d3895defb694cd8c (diff)
from netbsd, via loki@animata.net: revision 1.62. Log message:
Fix an error in a debug printf().
-rw-r--r--sys/dev/usb/ehci.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index de7d36d82ea..c4ebb6e4f0e 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.11 2004/07/06 02:51:14 deraadt Exp $ */
+/* $OpenBSD: ehci.c,v 1.12 2004/07/06 02:51:46 deraadt Exp $ */
/* $NetBSD: ehci.c,v 1.54 2004/01/17 13:15:05 jdolecek Exp $ */
/*
@@ -766,9 +766,8 @@ ehci_idone(struct ehci_xfer *ex)
char sbuf[128];
bitmask_snprintf((u_int32_t)status,
- "\20\3MISSEDMICRO\4XACT\5BABBLE\6BABBLE"
- "\7HALTED",
- sbuf, sizeof(sbuf));
+ "\20\7HALTED\6BUFERR\5BABBLE\4XACTERR"
+ "\3MISSED", sbuf, sizeof(sbuf));
DPRINTFN((status == EHCI_QTD_HALTED)*/*10*/2,
("ehci_idone: error, addr=%d, endpt=0x%02x, "