aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2017-12-27 03:23:01 +0000
committerEitan Adler <eadler@FreeBSD.org>2017-12-27 03:23:01 +0000
commitdae3a64fb967bbff627efc2e8cdd127c6b93d902 (patch)
treeb78c0f261091694d61760b0d75bc516ec09ecbc5 /usr.bin
parent6a3fe713147e5931fbe4b02d287bc9d54116ce6f (diff)
downloadsrc-dae3a64fb967bbff627efc2e8cdd127c6b93d902.tar.gz
src-dae3a64fb967bbff627efc2e8cdd127c6b93d902.zip
userland: Fix several typos and minor errors
- duplicate words - typos - references to old versions of FreeBSD Reviewed by: imp, benno
Notes
Notes: svn path=/head/; revision=327230
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/localedef/ctype.c2
-rw-r--r--usr.bin/mail/cmd3.c2
-rw-r--r--usr.bin/xargs/strnsubst.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/localedef/ctype.c b/usr.bin/localedef/ctype.c
index 3133d2462b37..abeea0194629 100644
--- a/usr.bin/localedef/ctype.c
+++ b/usr.bin/localedef/ctype.c
@@ -224,7 +224,7 @@ add_ctype_range(wchar_t end)
* A word about widths: if the width mask is specified, then libc
* unconditionally honors it. Otherwise, it assumes printable
* characters have width 1, and non-printable characters have width
- * -1 (except for NULL which is special with with 0). Hence, we have
+ * -1 (except for NULL which is special with width 0). Hence, we have
* no need to inject defaults here -- the "default" unset value of 0
* indicates that libc should use its own logic in wcwidth as described.
*/
diff --git a/usr.bin/mail/cmd3.c b/usr.bin/mail/cmd3.c
index 71df59bfea56..68afbaa56913 100644
--- a/usr.bin/mail/cmd3.c
+++ b/usr.bin/mail/cmd3.c
@@ -261,7 +261,7 @@ dorespond(int *msgvec)
}
/*
- * Modify the subject we are replying to to begin with Re: if
+ * Modify the message subject to begin with "Re:" if
* it does not already.
*/
char *
diff --git a/usr.bin/xargs/strnsubst.c b/usr.bin/xargs/strnsubst.c
index 304e47bdf3f4..d826d33c0967 100644
--- a/usr.bin/xargs/strnsubst.c
+++ b/usr.bin/xargs/strnsubst.c
@@ -37,7 +37,7 @@ strnsubst(char **str, const char *match, const char *replstr, size_t maxsize)
if (s1 == NULL)
return;
/*
- * If maxsize is 0 then set it to to the length of s1, because we have
+ * If maxsize is 0 then set it to the length of s1, because we have
* to duplicate s1. XXX we maybe should double-check whether the match
* appears in s1. If it doesn't, then we also have to set the length
* to the length of s1, to avoid modifying the argument. It may make