From 4d6b787d2daa6eb05c0f3526d65b0b92b1afa715 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 22 Apr 2002 13:44:47 +0000 Subject: Usage style sweep: spell "usage" with a small 'u'. Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. --- tools/diag/localeck/localeck.c | 2 +- tools/regression/geom/ConfCmp/ConfCmp.c | 2 +- tools/regression/p1003_1b/yield.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/diag/localeck/localeck.c b/tools/diag/localeck/localeck.c index b638f00..4ce7e45 100644 --- a/tools/diag/localeck/localeck.c +++ b/tools/diag/localeck/localeck.c @@ -54,7 +54,7 @@ main(int argc, char *argv[]) const char *localename; if (argc != 2) { - (void)fprintf(stderr, "Usage: localeck \n"); + (void)fprintf(stderr, "usage: localeck \n"); exit(1); } diff --git a/tools/regression/geom/ConfCmp/ConfCmp.c b/tools/regression/geom/ConfCmp/ConfCmp.c index e224db9..dd129ba 100644 --- a/tools/regression/geom/ConfCmp/ConfCmp.c +++ b/tools/regression/geom/ConfCmp/ConfCmp.c @@ -308,7 +308,7 @@ main(int argc, char **argv) setbuf(stdout, NULL); setbuf(stderr, NULL); if (argc != 3) - errx(1, "Usage: %s file1 file2", argv[0]); + errx(1, "usage: %s file1 file2", argv[0]); t1 = dofile(argv[1]); if (t1 == NULL) diff --git a/tools/regression/p1003_1b/yield.c b/tools/regression/p1003_1b/yield.c index b664513..ac31a99 100644 --- a/tools/regression/p1003_1b/yield.c +++ b/tools/regression/p1003_1b/yield.c @@ -82,7 +82,7 @@ int yield(int argc, char *argv[]) n = nslaves = 10; else if (argc != 2) { - fprintf(stderr, "Usage: prog [n_instances]\n"); + fprintf(stderr, "usage: prog [n_instances]\n"); exit(-1); } else -- cgit v1.1