summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/string
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2013-04-17 11:40:10 +0000
committergabor <gabor@FreeBSD.org>2013-04-17 11:40:10 +0000
commitd3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75 (patch)
tree6c2aee498f9e11d960770edc4c69d81c03d3cc25 /lib/libc/i386/string
parent534bc4664d43755c6bed54f3c55baaddc569aba3 (diff)
downloadFreeBSD-src-d3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75.zip
FreeBSD-src-d3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75.tar.gz
- Correct mispellings of the word occurrence
Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
Diffstat (limited to 'lib/libc/i386/string')
-rw-r--r--lib/libc/i386/string/memchr.S2
-rw-r--r--lib/libc/i386/string/strchr.S4
-rw-r--r--lib/libc/i386/string/strrchr.S4
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/i386/string/memchr.S b/lib/libc/i386/string/memchr.S
index 03828db..3bd4d9c 100644
--- a/lib/libc/i386/string/memchr.S
+++ b/lib/libc/i386/string/memchr.S
@@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
/*
* memchr (b, c, len)
- * locates the first occurance of c in string b.
+ * locates the first occurrence of c in string b.
*
* Written by:
* J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
diff --git a/lib/libc/i386/string/strchr.S b/lib/libc/i386/string/strchr.S
index 57fc6dd..f57c2cd 100644
--- a/lib/libc/i386/string/strchr.S
+++ b/lib/libc/i386/string/strchr.S
@@ -33,11 +33,11 @@ __FBSDID("$FreeBSD$");
/*
* strchr(s, c)
- * return a pointer to the first occurance of the character c in
+ * return a pointer to the first occurrence of the character c in
* string s, or NULL if c does not occur in the string.
*
* %edx - pointer iterating through string
- * %eax - pointer to first occurance of 'c'
+ * %eax - pointer to first occurrence of 'c'
* %cl - character we're comparing against
* %bl - character at %edx
*
diff --git a/lib/libc/i386/string/strrchr.S b/lib/libc/i386/string/strrchr.S
index 29942c4..5ec5287 100644
--- a/lib/libc/i386/string/strrchr.S
+++ b/lib/libc/i386/string/strrchr.S
@@ -33,11 +33,11 @@ __FBSDID("$FreeBSD$");
/*
* strrchr(s, c)
- * return a pointer to the last occurance of the character c in
+ * return a pointer to the last occurrence of the character c in
* string s, or NULL if c does not occur in the string.
*
* %edx - pointer iterating through string
- * %eax - pointer to last occurance of 'c'
+ * %eax - pointer to last occurrence of 'c'
* %cl - character we're comparing against
* %bl - character at %edx
*
OpenPOWER on IntegriCloud