From 27abdffca0c1723477f8971d1ec47aeafa773cd9 Mon Sep 17 00:00:00 2001 From: Christopher Pascoe Date: Mon, 28 Feb 2005 00:34:10 +0000 Subject: Do not incorrectly emit "too many" message in debugging code. ok dlg@ --- sys/dev/usb/ehci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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"); } -- cgit v1.2.3