summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2005-02-28 00:34:10 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2005-02-28 00:34:10 +0000
commit27abdffca0c1723477f8971d1ec47aeafa773cd9 (patch)
treed8ece4c6d8fdc79c190e513ce866c4bdd57c84b1 /sys
parent3d1c00951da54bfe4883c2e3deebc9a426d12c61 (diff)
Do not incorrectly emit "too many" message in debugging code.
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 363a084f0f3..fcf54efe58c 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.33 2004/12/29 01:52:27 dlg Exp $ */
+/* $OpenBSD: ehci.c,v 1.34 2005/02/28 00:34:09 pascoe Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -1230,7 +1230,7 @@ ehci_dump_sqtds(ehci_soft_qtd_t *sqtd)
ehci_dump_sqtd(sqtd);
stop = sqtd->qtd.qtd_next & htole32(EHCI_LINK_TERMINATE);
}
- if (sqtd)
+ if (!stop)
printf("dump aborted, too many TDs\n");
}