From af7ca7c85db98a2db126ddb25b20ed88f4f2deb6 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Sun, 1 May 2016 16:13:05 +0000 Subject: [PATCH] usr.bin: minor spelling fixes on comments. No functional change. --- usr.bin/iscsictl/iscsictl.c | 2 +- usr.bin/m4/eval.c | 2 +- usr.bin/timeout/tests/timeout.sh | 2 +- usr.bin/timeout/timeout.c | 2 +- usr.bin/whereis/whereis.c | 2 +- usr.bin/xlint/lint2/chk.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.bin/iscsictl/iscsictl.c b/usr.bin/iscsictl/iscsictl.c index 12ede3c7948..8bd303d5e09 100644 --- a/usr.bin/iscsictl/iscsictl.c +++ b/usr.bin/iscsictl/iscsictl.c @@ -771,7 +771,7 @@ main(int argc, char **argv) xo_errx(1, "at most one of -A, -M, -R, or -L may be specified"); /* - * Note that we ignore unneccessary/inapplicable "-c" flag; so that + * Note that we ignore unnecessary/inapplicable "-c" flag; so that * people can do something like "alias ISCSICTL="iscsictl -c path" * in shell scripts. */ diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c index d50138a326a..f3d72b647e0 100644 --- a/usr.bin/m4/eval.c +++ b/usr.bin/m4/eval.c @@ -895,7 +895,7 @@ dosub(const char *argv[], int argc) * function of ICON language. Within mapvec, we replace every character * of "from" with the corresponding character in "to". * If "to" is shorter than "from", than the corresponding entries are null, - * which means that those characters dissapear altogether. + * which means that those characters disappear altogether. */ static void map(char *dest, const char *src, const char *from, const char *to) diff --git a/usr.bin/timeout/tests/timeout.sh b/usr.bin/timeout/tests/timeout.sh index e04e6f93b0b..6ccde3211a3 100644 --- a/usr.bin/timeout/tests/timeout.sh +++ b/usr.bin/timeout/tests/timeout.sh @@ -83,7 +83,7 @@ exit_numbers_body() -s exit:124 \ -x timeout .1 sleep 1 - # With preserv status exit shoudl be 128 + TERM aka 143 + # With preserv status exit should be 128 + TERM aka 143 atf_check \ -o empty \ -e empty \ diff --git a/usr.bin/timeout/timeout.c b/usr.bin/timeout/timeout.c index 804efd8131f..d682541e916 100644 --- a/usr.bin/timeout/timeout.c +++ b/usr.bin/timeout/timeout.c @@ -227,7 +227,7 @@ main(int argc, char **argv) argv++; if (!foreground) { - /* Aquire a reaper */ + /* Acquire a reaper */ if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1) err(EX_OSERR, "Fail to acquire the reaper"); } diff --git a/usr.bin/whereis/whereis.c b/usr.bin/whereis/whereis.c index 6864e7b71e5..3d857119a48 100644 --- a/usr.bin/whereis/whereis.c +++ b/usr.bin/whereis/whereis.c @@ -505,7 +505,7 @@ main(int argc, char **argv) (rlen = matches[1].rm_eo - matches[1].rm_so) > 0) { /* - * man -w found formated + * man -w found formatted * page, need to pick up * source page name. */ diff --git a/usr.bin/xlint/lint2/chk.c b/usr.bin/xlint/lint2/chk.c index 4062246a301..4bdd5b7507f 100644 --- a/usr.bin/xlint/lint2/chk.c +++ b/usr.bin/xlint/lint2/chk.c @@ -459,7 +459,7 @@ chkau(hte_t *hte, int n, sym_t *def, sym_t *decl, pos_t *pos1p, promote = def != NULL && def->s_osdef; /* - * If we compair with a definition or declaration, we must perform + * If we compare with a definition or declaration, we must perform * the same checks for qualifiers in indirected types as in * assignments. */