ref: c4ec69045e40277433a7fdc48c0ff4b19a11fa59
parent: 86a9f92f47f9cb5d9eb3806e458d856b0ee81b08
author: cinap_lenrek <[email protected]>
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){