svn commit: r298879 - in head/usr.bin: iscsictl m4 timeout timeout/tests whereis xlint/lint2

Pedro F. Giffuni pfg at FreeBSD.org
Sun May 1 16:13:06 UTC 2016


Author: pfg
Date: Sun May  1 16:13:05 2016
New Revision: 298879
URL: https://svnweb.freebsd.org/changeset/base/298879

Log:
  usr.bin: minor spelling fixes on comments.
  
  No functional change.

Modified:
  head/usr.bin/iscsictl/iscsictl.c
  head/usr.bin/m4/eval.c
  head/usr.bin/timeout/tests/timeout.sh
  head/usr.bin/timeout/timeout.c
  head/usr.bin/whereis/whereis.c
  head/usr.bin/xlint/lint2/chk.c

Modified: head/usr.bin/iscsictl/iscsictl.c
==============================================================================
--- head/usr.bin/iscsictl/iscsictl.c	Sun May  1 16:10:56 2016	(r298878)
+++ head/usr.bin/iscsictl/iscsictl.c	Sun May  1 16:13:05 2016	(r298879)
@@ -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.
 	 */

Modified: head/usr.bin/m4/eval.c
==============================================================================
--- head/usr.bin/m4/eval.c	Sun May  1 16:10:56 2016	(r298878)
+++ head/usr.bin/m4/eval.c	Sun May  1 16:13:05 2016	(r298879)
@@ -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)

Modified: head/usr.bin/timeout/tests/timeout.sh
==============================================================================
--- head/usr.bin/timeout/tests/timeout.sh	Sun May  1 16:10:56 2016	(r298878)
+++ head/usr.bin/timeout/tests/timeout.sh	Sun May  1 16:13:05 2016	(r298879)
@@ -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 \

Modified: head/usr.bin/timeout/timeout.c
==============================================================================
--- head/usr.bin/timeout/timeout.c	Sun May  1 16:10:56 2016	(r298878)
+++ head/usr.bin/timeout/timeout.c	Sun May  1 16:13:05 2016	(r298879)
@@ -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");
 	}

Modified: head/usr.bin/whereis/whereis.c
==============================================================================
--- head/usr.bin/whereis/whereis.c	Sun May  1 16:10:56 2016	(r298878)
+++ head/usr.bin/whereis/whereis.c	Sun May  1 16:13:05 2016	(r298879)
@@ -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.
 						 */

Modified: head/usr.bin/xlint/lint2/chk.c
==============================================================================
--- head/usr.bin/xlint/lint2/chk.c	Sun May  1 16:10:56 2016	(r298878)
+++ head/usr.bin/xlint/lint2/chk.c	Sun May  1 16:13:05 2016	(r298879)
@@ -459,7 +459,7 @@ chkau(hte_t *hte, int n, sym_t *def, sym
 	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.
 	 */


More information about the svn-src-all mailing list