ref: 2e25269da3910a7af00603283775bb2b4086868d
parent: 16351ff243ca194fea1f17d2423181c18d569298
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Oct 20 15:41:37 EDT 2018
devusb: use Enotconf[] string constant
--- a/sys/src/9/port/devusb.c
+++ b/sys/src/9/port/devusb.c
@@ -1141,7 +1141,7 @@
error(Ebadusefd);
switch(ep->ttype){case Tnone:
- error("endpoint not configured");+ error(Enotconf);
case Tctl:
nr = rhubread(ep, a, n);
if(nr >= 0){@@ -1535,7 +1535,7 @@
switch(ep->ttype){case Tnone:
- error("endpoint not configured");+ error(Enotconf);
case Tctl:
nr = rhubwrite(ep, a, n);
if(nr >= 0){--
⑨