summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-01 16:13:05 +0000
committerpfg <pfg@FreeBSD.org>2016-05-01 16:13:05 +0000
commitca8f20faa859d93d660ee3708ff2ba0d8349ca34 (patch)
treeb11ac18838fa903e9ffdc86aeac7ac0942133908
parentb1c0cd9a3465e412ac04057f612a816d1c2b45f4 (diff)
downloadFreeBSD-src-ca8f20faa859d93d660ee3708ff2ba0d8349ca34.zip
FreeBSD-src-ca8f20faa859d93d660ee3708ff2ba0d8349ca34.tar.gz
usr.bin: minor spelling fixes on comments.
No functional change.
-rw-r--r--usr.bin/iscsictl/iscsictl.c2
-rw-r--r--usr.bin/m4/eval.c2
-rw-r--r--usr.bin/timeout/tests/timeout.sh2
-rw-r--r--usr.bin/timeout/timeout.c2
-rw-r--r--usr.bin/whereis/whereis.c2
-rw-r--r--usr.bin/xlint/lint2/chk.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/iscsictl/iscsictl.c b/usr.bin/iscsictl/iscsictl.c
index 12ede3c..8bd303d 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 d50138a..f3d72b6 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 e04e6f9..6ccde32 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 804efd8..d682541 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 6864e7b..3d85711 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 4062246..4bdd5b7 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.
*/
OpenPOWER on IntegriCloud