summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2012-01-05 21:36:45 +0000
committeruqs <uqs@FreeBSD.org>2012-01-05 21:36:45 +0000
commit2b302aad9f597489a5b87e5d623f1a326758605e (patch)
treec8ee040beaf87179f920dfcd10aebae532ac7e0e /usr.bin/mail
parentb5c7b0dfe9b8e88376b3dc765231155b450c8e0e (diff)
downloadFreeBSD-src-2b302aad9f597489a5b87e5d623f1a326758605e.zip
FreeBSD-src-2b302aad9f597489a5b87e5d623f1a326758605e.tar.gz
Touch up some more small typos missed in the previous round.
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
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 cfc3f88..31372d0 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 e72c564..c90fe90 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)
OpenPOWER on IntegriCloud