summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/usbohci.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-09-03 04:23:02 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-09-03 04:23:02 +0200
commit0c52215ae32c86751942c3c8c3f784f4a1514731 (patch)
tree4995bc0f9a1c7201b4c770f82bafdaa1f7fc2c45 /sys/src/9/pc/usbohci.c
parentcfd25faa2857ee9de75910d81530be62d7ba4704 (diff)
usb: fix potential isoread overruns, error instead of panic on isoread in ohci
Diffstat (limited to 'sys/src/9/pc/usbohci.c')
-rw-r--r--sys/src/9/pc/usbohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/usbohci.c b/sys/src/9/pc/usbohci.c
index 154da3062..eee329238 100644
--- a/sys/src/9/pc/usbohci.c
+++ b/sys/src/9/pc/usbohci.c
@@ -1660,7 +1660,7 @@ epread(Ep *ep, void *a, long count)
clrhalt(ep);
return epio(ep, &io[OREAD], a, count, 1);
case Tiso:
- panic("ohci: iso read not implemented");
+ error("iso read not implemented");
break;
default:
panic("epread: bad ep ttype %d", ep->ttype);