summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/string.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-02-15 09:27:11 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 16:01:50 +0000
commit824b4b8a2038e91d008ac60919fbc742c3facc61 (patch)
treec92e2311f426e618ee992459b03af3bc6112e233 /payloads/libpayload/libc/string.c
parent9c26605353873165805ce611d93e259a8545853e (diff)
downloadcoreboot-824b4b8a2038e91d008ac60919fbc742c3facc61.tar.xz
payloads: Fix typos
Change-Id: Ib7f1ba1766e5c972542ce7571a8aa3583c513823 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38911 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'payloads/libpayload/libc/string.c')
-rw-r--r--payloads/libpayload/libc/string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/libpayload/libc/string.c b/payloads/libpayload/libc/string.c
index 0e34a036b0..9309223da1 100644
--- a/payloads/libpayload/libc/string.c
+++ b/payloads/libpayload/libc/string.c
@@ -268,7 +268,7 @@ size_t strlcat(char *d, const char *s, size_t n)
*
* @param s The string.
* @param c The character.
- * @return A pointer to the first occurence of the character in the
+ * @return A pointer to the first occurrence of the character in the
* string, or NULL if the character was not encountered within the string.
*/
char *strchr(const char *s, int c)
@@ -288,7 +288,7 @@ char *strchr(const char *s, int c)
*
* @param s The string.
* @param c The character.
- * @return A pointer to the last occurence of the character in the
+ * @return A pointer to the last occurrence of the character in the
* string, or NULL if the character was not encountered within the string.
*/
@@ -327,7 +327,7 @@ char *strdup(const char *s)
*
* @param h The haystack string.
* @param n The needle string (substring).
- * @return A pointer to the first occurence of the substring in
+ * @return A pointer to the first occurrence of the substring in
* the string, or NULL if the substring was not encountered within the string.
*/
char *strstr(const char *h, const char *n)