summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-01 16:10:56 +0000
committerpfg <pfg@FreeBSD.org>2016-05-01 16:10:56 +0000
commitb1c0cd9a3465e412ac04057f612a816d1c2b45f4 (patch)
tree6cfa47d0d6f24999b93e2f055cbf8ca20f07f4ee
parentbc008b1d123d5d57532c1663d36487c177b778f6 (diff)
downloadFreeBSD-src-b1c0cd9a3465e412ac04057f612a816d1c2b45f4.zip
FreeBSD-src-b1c0cd9a3465e412ac04057f612a816d1c2b45f4.tar.gz
localedef(1): minor spelling fixes on comments.
No functional change.
-rw-r--r--usr.bin/localedef/charmap.c2
-rw-r--r--usr.bin/localedef/collate.c2
-rw-r--r--usr.bin/localedef/scanner.c2
-rw-r--r--usr.bin/localedef/time.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/localedef/charmap.c b/usr.bin/localedef/charmap.c
index 18db802..52839a9 100644
--- a/usr.bin/localedef/charmap.c
+++ b/usr.bin/localedef/charmap.c
@@ -324,7 +324,7 @@ add_charmap_char(const char *name, int val)
/*
* POSIX insists that certain entries be present, even when not in the
- * orginal charmap file.
+ * original charmap file.
*/
void
add_charmap_posix(void)
diff --git a/usr.bin/localedef/collate.c b/usr.bin/localedef/collate.c
index 32c583c..0eb6ea1 100644
--- a/usr.bin/localedef/collate.c
+++ b/usr.bin/localedef/collate.c
@@ -1120,7 +1120,7 @@ dump_collate(void)
collate_chain_t *chain;
/*
- * We have to run throught a preliminary pass to identify all the
+ * We have to run through a preliminary pass to identify all the
* weights that we use for each sorting level.
*/
for (i = 0; i < NUM_WT; i++) {
diff --git a/usr.bin/localedef/scanner.c b/usr.bin/localedef/scanner.c
index 0b57e5b..fa62089 100644
--- a/usr.bin/localedef/scanner.c
+++ b/usr.bin/localedef/scanner.c
@@ -181,7 +181,7 @@ static struct token {
/*
* These are keywords used in the charmap file. Note that
- * Solaris orginally used angle brackets to wrap some of them,
+ * Solaris originally used angle brackets to wrap some of them,
* but we removed that to simplify our parser. The first of these
* items are "global items."
*/
diff --git a/usr.bin/localedef/time.c b/usr.bin/localedef/time.c
index 6daf7ac..e40001d 100644
--- a/usr.bin/localedef/time.c
+++ b/usr.bin/localedef/time.c
@@ -262,7 +262,7 @@ dump_time(void)
* NOTE: If date_fmt is not specified, then we'll default to
* using the %c for date. This is reasonable for most
* locales, although for reasons that I don't understand
- * Solaris historically has had a seperate format for date.
+ * Solaris historically has had a separate format for date.
*/
if ((putl_category(tm.X_fmt, f) == EOF) ||
(putl_category(tm.x_fmt, f) == EOF) ||
OpenPOWER on IntegriCloud