usr.bin: minor spelling fixes on comments.

No functional change.
This commit is contained in:
Pedro F. Giffuni 2016-05-01 16:13:05 +00:00
parent fcc7baa1ae
commit af7ca7c85d
6 changed files with 6 additions and 6 deletions

View File

@ -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.
*/

View File

@ -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)

View File

@ -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 \

View File

@ -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");
}

View File

@ -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.
*/

View File

@ -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.
*/