summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-01-07 00:40:51 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-01-07 00:40:51 +0000
commitdc83b58bbee523b7400472f573a44887cbd0642a (patch)
treeeb667008656693411615bab6f9f0c665ccab9726 /usr.bin
parentad386aeec35ec2185d270b03008f3fb87a977e77 (diff)
downloadFreeBSD-src-dc83b58bbee523b7400472f573a44887cbd0642a.zip
FreeBSD-src-dc83b58bbee523b7400472f573a44887cbd0642a.tar.gz
MFC r289677:
Fix a ton of speelling errors
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/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
12 files changed, 21 insertions, 21 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 fe8f1ae..3a6f893 100644
--- a/usr.bin/indent/indent.1
+++ b/usr.bin/indent/indent.1
@@ -523,7 +523,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/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 745766c..6069ec7 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -1343,7 +1343,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;
@@ -1355,7 +1355,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 5fadf62..357c364 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 d1ec0d3..8a8afc0 100644
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -365,7 +365,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;
@@ -457,7 +457,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;
@@ -499,7 +499,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 cd57835..04d3a83 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