shithub: riscv

Download patch

ref: dd820435e922d927c4f1531fb82aec2bf8fc5cd3
parent: c655b6552cae96cc174549f07d55c0255d246615
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Apr 19 10:06:38 EDT 2024

Fix minor typos and error redirections

--- a/sys/man/1/git
+++ b/sys/man/1/git
@@ -230,7 +230,7 @@
 .B -b
 option will cause the repository to be initialized as a bare repository.
 Passing the
-. -u
+.B -u
 .I upstream
 option will cause the upstream to be configured to
 .I upstream.
--- a/sys/src/9/ip/devip.c
+++ b/sys/src/9/ip/devip.c
@@ -816,7 +816,7 @@
 }
 
 /* 
- *  find a unused loacal port for a protocol.
+ *  find a unused local port for a protocol.
  *
  *  p needs to be locked
  */
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -837,7 +837,7 @@
 			dpll = igfx->pipe[x].dpll;
 			/* enable pll */
 			dpll->ctrl.v = 1<<31;
-			/* LCPLL 2700 (non scc) reference */
+			/* LCPLL 2700 (non ssc) reference */
 			dpll->ctrl.v |= 3<<28;
 
 			genwrpll(freq, &n2, &p1, &r2);
--- a/sys/src/cmd/cmp.c
+++ b/sys/src/cmd/cmp.c
@@ -127,6 +127,6 @@
 static void
 usage(void)
 {
-	print("usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
+	fprint(2, "usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
 	exits("usage");
 }