aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2012-01-05 21:36:45 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2012-01-05 21:36:45 +0000
commit389ae6c65d4db89e86fd303d7e1288a2a8d12d46 (patch)
treec8ee040beaf87179f920dfcd10aebae532ac7e0e /usr.bin/mail
parentf7bcc1c41154742834966fb09f96c9f96ae5679d (diff)
downloadsrc-389ae6c65d4db89e86fd303d7e1288a2a8d12d46.tar.gz
src-389ae6c65d4db89e86fd303d7e1288a2a8d12d46.zip
Touch up some more small typos missed in the previous round.
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
Notes
Notes: svn path=/head/; revision=229655
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/main.c2
-rw-r--r--usr.bin/mail/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index cfc3f88c91a0..31372d03d72d 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -259,7 +259,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...\n\
if (ef == NULL)
ef = "%";
if (setfile(ef) <= 0)
- /* Either an error has occurted, or no mail */
+ /* Either an error has occurred, or no mail */
exit(1);
else
exit(0);
diff --git a/usr.bin/mail/util.c b/usr.bin/mail/util.c
index e72c564e9f41..c90fe905effd 100644
--- a/usr.bin/mail/util.c
+++ b/usr.bin/mail/util.c
@@ -550,7 +550,7 @@ newname:
}
/*
- * Count the occurrances of c in str
+ * Count the occurrences of c in str
*/
int
charcount(char *str, int c)