shithub: riscv

Download patch

ref: ec73849b6936d839410ccb239d14b2f7c7ca3d6f
parent: fe5d1976a0b4376c955ca8423eb9005f5d035403
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Apr 16 10:07:18 EDT 2024

nusb/usbd: fix typos

--- a/sys/src/cmd/nusb/usbd/usbd.c
+++ b/sys/src/cmd/nusb/usbd/usbd.c
@@ -236,7 +236,7 @@
 	}
 	cb = parsecmd(req->ifcall.data, req->ifcall.count);
 	if(cb->nf < 4){
-		respond(req, "not enougth arguments");
+		respond(req, "not enough arguments");
 		goto out;
 	}
 	if(strcmp(cb->f[0], "portpower") == 0)
@@ -244,7 +244,7 @@
 	else if(strcmp(cb->f[0], "portindicator") == 0)
 		feature = Fportindicator;
 	else {
-		respond(req, "unnown feature");
+		respond(req, "unknown feature");
 		goto out;
 	}
 	port = atoi(cb->f[2]);