summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 19:16:05 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 19:16:05 +0000
commitba88fc458a6035cb369aafc8667bade7da573b6b (patch)
tree394d099e791ff5398b95266a1d3bdf8c5e6b82bc /usr.bin/mail
parent21387508cf29cf6c632d139f76994a8bbd51b838 (diff)
spelling fixes; from paul tagliamonte
amendments to his diff are noted on tech
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/fio.c4
-rw-r--r--usr.bin/mail/util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mail/fio.c b/usr.bin/mail/fio.c
index 368f164a762..9ee881e7164 100644
--- a/usr.bin/mail/fio.c
+++ b/usr.bin/mail/fio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fio.c,v 1.38 2019/06/28 13:35:01 deraadt Exp $ */
+/* $OpenBSD: fio.c,v 1.39 2022/12/26 19:16:01 jmc Exp $ */
/* $NetBSD: fio.c,v 1.8 1997/07/07 22:57:55 phil Exp $ */
/*
@@ -451,7 +451,7 @@ expand(char *name)
if (strpbrk(name, "~{[*?\\") == NULL)
return(savestr(name));
- /* XXX - does not expand enviroment variables. */
+ /* XXX - does not expand environment variables. */
switch (glob(name, flags, NULL, &names)) {
case 0:
if (names.gl_pathc == 1)
diff --git a/usr.bin/mail/util.c b/usr.bin/mail/util.c
index e6c03342990..68fa944bcdc 100644
--- a/usr.bin/mail/util.c
+++ b/usr.bin/mail/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.1 2020/12/15 00:50:01 daniel Exp $ */
+/* $OpenBSD: util.c,v 1.2 2022/12/26 19:16:01 jmc Exp $ */
/* $NetBSD: aux.c,v 1.5 1997/05/13 06:15:52 mikel Exp $ */
/*
@@ -570,7 +570,7 @@ newname:
}
/*
- * Count the occurances of c in str
+ * Count the occurrences of c in str
*/
int
charcount(char *str, int c)