From: Roberto E. Vargas Caballero Date: Fri, 19 Apr 2024 13:57:07 +0000 Subject: [PATCH] Fix minor typos and error redirections --- diff c655b6552cae96cc174549f07d55c0255d246615 161026bb511b31e397c1067d8c74308b3fec8d31 --- 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/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"); }