summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
commit9953595f973c461c2729e5a7cde9380a3d3d2c9a (patch)
treed145ece02284bd86561f373fcb369e260154153b /usr.bin/mail
parentf4753a04d4771c2013dc576b6455d28c5e64e93e (diff)
downloadFreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip
FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/head.c2
-rw-r--r--usr.bin/mail/main.c2
-rw-r--r--usr.bin/mail/util.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/head.c b/usr.bin/mail/head.c
index 29b1426..d836ce4 100644
--- a/usr.bin/mail/head.c
+++ b/usr.bin/mail/head.c
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
/*
* See if the passed line buffer is a mail header.
* Return true if yes. Note the extreme pains to
- * accomodate all funny formats.
+ * accommodate all funny formats.
*/
int
ishead(char linebuf[])
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index 0c4e2cb..cfc3f88 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 occured, or no mail */
+ /* Either an error has occurted, or no mail */
exit(1);
else
exit(0);
diff --git a/usr.bin/mail/util.c b/usr.bin/mail/util.c
index 461738d..e72c564 100644
--- a/usr.bin/mail/util.c
+++ b/usr.bin/mail/util.c
@@ -550,7 +550,7 @@ newname:
}
/*
- * Count the occurances of c in str
+ * Count the occurrances of c in str
*/
int
charcount(char *str, int c)
OpenPOWER on IntegriCloud