From: Roberto E. Vargas Caballero Date: Fri, 19 Apr 2024 14:01:27 +0000 Subject: [PATCH] Fix minor typos and error redirections --- diff c655b6552cae96cc174549f07d55c0255d246615 3a9eb2b59068e49022ea322ff5306809892fded8 --- 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/getflags.c +++ b/sys/src/cmd/aux/getflags.c @@ -5,7 +5,7 @@ void usage(void) { - print("status=usage\n"); + fprint(2, "status=usage\n"); exits(0); } --- 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"); }