summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2015-10-21 05:37:09 +0000
committereadler <eadler@FreeBSD.org>2015-10-21 05:37:09 +0000
commit21a3003f8f5c49c0acbcb49462e5b221076076d0 (patch)
tree1149682a8773189b3c623000a582961e7e382c47 /usr.bin
parent1cbd99f727ea8d812f6573b02f6255424be40284 (diff)
downloadFreeBSD-src-21a3003f8f5c49c0acbcb49462e5b221076076d0.zip
FreeBSD-src-21a3003f8f5c49c0acbcb49462e5b221076076d0.tar.gz
Fix a ton of speelling errors
arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/calendar/parsedata.c2
-rw-r--r--usr.bin/colldef/parse.y12
-rw-r--r--usr.bin/dtc/dtb.hh2
-rw-r--r--usr.bin/indent/indent.12
-rw-r--r--usr.bin/locale/locale.c4
-rw-r--r--usr.bin/look/look.12
-rw-r--r--usr.bin/mkimg/mkimg.12
-rw-r--r--usr.bin/mt/mt.c4
-rw-r--r--usr.bin/patch/pch.c2
-rw-r--r--usr.bin/pr/egetopt.c2
-rw-r--r--usr.bin/sed/compile.c2
-rw-r--r--usr.bin/sockstat/sockstat.c6
-rw-r--r--usr.bin/vgrind/regexp.c2
13 files changed, 22 insertions, 22 deletions
diff --git a/usr.bin/calendar/parsedata.c b/usr.bin/calendar/parsedata.c
index 4586973..1a19164 100644
--- a/usr.bin/calendar/parsedata.c
+++ b/usr.bin/calendar/parsedata.c
@@ -274,7 +274,7 @@ determinestyle(char *date, int *flags,
/* If both the month and date are specified as numbers */
if (isonlydigits(p1, 1) && isonlydigits(p2, 0)) {
- /* Now who wants to be this ambigious? :-( */
+ /* Now who wants to be this ambiguous? :-( */
int m, d;
if (strchr(p2, '*') != NULL)
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y
index 9f8f8a8..9867608 100644
--- a/usr.bin/colldef/parse.y
+++ b/usr.bin/colldef/parse.y
@@ -134,17 +134,17 @@ order : ORDER order_list {
strcpy(__collate_version, COLLATE_VERSION1_2);
if (fwrite(__collate_version, sizeof(__collate_version), 1, fp) != 1)
err(EX_IOERR,
- "IO error writting collate version to destination file %s",
+ "I/O error writing collate version to destination file %s",
out_file);
u32 = htonl(chain_index);
if (fwrite(&u32, sizeof(u32), 1, fp) != 1)
err(EX_IOERR,
- "IO error writting chains number to destination file %s",
+ "I/O error writing chains number to destination file %s",
out_file);
if (fwrite(__collate_substitute_table,
sizeof(__collate_substitute_table), 1, fp) != 1)
err(EX_IOERR,
- "IO error writting substitute table to destination file %s",
+ "I/O error writing substitution table to destination file %s",
out_file);
for (ch = 0; ch < UCHAR_MAX + 1; ch++) {
__collate_char_pri_table[ch].prim =
@@ -155,7 +155,7 @@ order : ORDER order_list {
if (fwrite(__collate_char_pri_table,
sizeof(__collate_char_pri_table), 1, fp) != 1)
err(EX_IOERR,
- "IO error writting char table to destination file %s",
+ "I/O error writing char table to destination file %s",
out_file);
for (ch = 0; ch < chain_index; ch++) {
__collate_chain_pri_table[ch].prim =
@@ -167,10 +167,10 @@ order : ORDER order_list {
sizeof(*__collate_chain_pri_table), chain_index, fp) !=
(size_t)chain_index)
err(EX_IOERR,
- "IO error writting chain table to destination file %s",
+ "I/O error writing chain table to destination file %s",
out_file);
if (fclose(fp) != 0)
- err(EX_IOERR, "IO error closing destination file %s",
+ err(EX_IOERR, "I/O error closing destination file %s",
out_file);
exit(EX_OK);
}
diff --git a/usr.bin/dtc/dtb.hh b/usr.bin/dtc/dtb.hh
index 2c5f39e..a246e96 100644
--- a/usr.bin/dtc/dtb.hh
+++ b/usr.bin/dtc/dtb.hh
@@ -224,7 +224,7 @@ class asm_writer : public output_writer
uint32_t bytes_written;
/**
- * Writes a C string directly to the ouput as-is. This is mainly used
+ * Writes a C string directly to the output as-is. This is mainly used
* for writing directives.
*/
void write_string(const char *c);
diff --git a/usr.bin/indent/indent.1 b/usr.bin/indent/indent.1
index 160355c..60ae0bc 100644
--- a/usr.bin/indent/indent.1
+++ b/usr.bin/indent/indent.1
@@ -518,7 +518,7 @@ The
utility understands a substantial amount about the syntax of C, but it
has a `forgiving' parser.
It attempts to cope with the usual sorts of
-incomplete and misformed syntax.
+incomplete and malformed syntax.
In particular, the use of macros like:
.Pp
.Dl #define forever for(;;)
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c
index ee9bf84..e0fe7be 100644
--- a/usr.bin/locale/locale.c
+++ b/usr.bin/locale/locale.c
@@ -466,10 +466,10 @@ showlocale(void)
&& strcmp(lang, vval)) {
/*
* Appropriate environment variable set, its value
- * is valid and not overriden by LC_ALL
+ * is valid and not overridden by LC_ALL
*
* XXX: possible side effect: if both LANG and
- * overriden environment variable are set into same
+ * overridden environment variable are set into same
* value, then it'll be assumed as 'implied'
*/
printf("%s=%s\n", lcinfo[i].name, vval);
diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1
index e6f70bb..bfeb3a6 100644
--- a/usr.bin/look/look.1
+++ b/usr.bin/look/look.1
@@ -108,7 +108,7 @@ The
.Fl a
and
.Fl -alternative
-flags are ignored for compability.
+flags are ignored for compatibility.
.Sh SEE ALSO
.Xr grep 1 ,
.Xr sort 1
diff --git a/usr.bin/mkimg/mkimg.1 b/usr.bin/mkimg/mkimg.1
index 1fecdd2..246a397 100644
--- a/usr.bin/mkimg/mkimg.1
+++ b/usr.bin/mkimg/mkimg.1
@@ -289,7 +289,7 @@ utility as follows:
.Dl % mkimg -s mbr -b /boot/mbr -p freebsd:-'mkimg -s bsd -b /boot/boot \
-p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::1G' -o mbr-bsd.img
.Pp
-To accomodate the need to have partitions named or numbered in a certain
+To accommodate the need to have partitions named or numbered in a certain
way, the
.Nm
utility allows for the specification of empty partitions.
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index 8cec707..985a04e 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -1342,7 +1342,7 @@ mt_param(int argc, char **argv, int mtfd, char *xml_str,
break;
case 'p':
if (param_name != NULL) {
- warnx("Only one paramter name may be "
+ warnx("Only one parameter name may be "
"specified");
retval = 1;
goto bailout;
@@ -1354,7 +1354,7 @@ mt_param(int argc, char **argv, int mtfd, char *xml_str,
break;
case 's':
if (param_value != NULL) {
- warnx("Only one paramter value may be "
+ warnx("Only one parameter value may be "
"specified");
retval = 1;
goto bailout;
diff --git a/usr.bin/patch/pch.c b/usr.bin/patch/pch.c
index cae7bf4..0db459e 100644
--- a/usr.bin/patch/pch.c
+++ b/usr.bin/patch/pch.c
@@ -499,7 +499,7 @@ another_hunk(void)
LINENUM fillcnt; /* #lines of missing ptrn or repl */
LINENUM fillsrc; /* index of first line to copy */
LINENUM filldst; /* index of first missing line */
- bool ptrn_spaces_eaten; /* ptrn was slightly misformed */
+ bool ptrn_spaces_eaten; /* ptrn was slightly malformed */
bool repl_could_be_missing; /* no + or ! lines in this hunk */
bool repl_missing; /* we are now backtracking */
off_t repl_backtrack_position; /* file pos of first repl line */
diff --git a/usr.bin/pr/egetopt.c b/usr.bin/pr/egetopt.c
index 4b41b4a..22a093a 100644
--- a/usr.bin/pr/egetopt.c
+++ b/usr.bin/pr/egetopt.c
@@ -76,7 +76,7 @@ egetopt(int nargc, char * const *nargv, const char *ostr)
{
static char *place = emsg; /* option letter processing */
char *oli; /* option letter list index */
- static int delim; /* which option delimeter */
+ static int delim; /* which option delimiter */
char *p;
static char savec = '\0';
diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c
index c7fbe21..68cbbc5 100644
--- a/usr.bin/sed/compile.c
+++ b/usr.bin/sed/compile.c
@@ -364,7 +364,7 @@ nonsel: /* Now parse the command */
}
/*
- * Get a delimited string. P points to the delimeter of the string; d points
+ * Get a delimited string. P points to the delimiter of the string; d points
* to a buffer area. Newline and delimiter escapes are processed; other
* escapes are ignored.
*
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c
index ca13f8d..98d86b5 100644
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -373,7 +373,7 @@ gather_sctp(void)
htons(xinpcb->local_port));
break;
default:
- errx(1, "adress family %d not supported",
+ errx(1, "address family %d not supported",
xladdr->address.sa.sa_family);
}
laddr->next = NULL;
@@ -466,7 +466,7 @@ gather_sctp(void)
htons(xstcb->local_port));
break;
default:
- errx(1, "adress family %d not supported",
+ errx(1, "address family %d not supported",
xladdr->address.sa.sa_family);
}
laddr->next = NULL;
@@ -508,7 +508,7 @@ gather_sctp(void)
htons(xstcb->remote_port));
break;
default:
- errx(1, "adress family %d not supported",
+ errx(1, "address family %d not supported",
xraddr->address.sa.sa_family);
}
faddr->next = NULL;
diff --git a/usr.bin/vgrind/regexp.c b/usr.bin/vgrind/regexp.c
index 8390cf1..994cd2b 100644
--- a/usr.bin/vgrind/regexp.c
+++ b/usr.bin/vgrind/regexp.c
@@ -318,7 +318,7 @@ expconv()
/*
- * The following routine recognises an irregular expresion
+ * The following routine recognises an irregular expression
* with the following special characters:
*
* \? - means last match was optional
OpenPOWER on IntegriCloud