aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2024-01-04 04:31:30 +0100
committerMarcel Holtmann <marcel@holtmann.org>2024-01-04 04:31:30 +0100
commitbb178c7f9fa941befcd313a0b3aac46442095225 (patch)
treed60606cb5df10ec765367faa8f5763470a467b49
parentef619089235fd7e665f6e10be8b82718edaac232 (diff)
util: Fix spelling of string
-rw-r--r--ell/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ell/util.c b/ell/util.c
index 7ce6eddd..549e253e 100644
--- a/ell/util.c
+++ b/ell/util.c
@@ -127,7 +127,7 @@ LIB_EXPORT void l_free(void *ptr)
* l_strdup:
* @str: string pointer
*
- * Allocates and duplicates sring
+ * Allocates and duplicates string
*
* Returns: a newly allocated string
**/
@@ -153,7 +153,7 @@ LIB_EXPORT char *l_strdup(const char *str)
* @str: string pointer
* @max: Maximum number of characters to copy
*
- * Allocates and duplicates sring. If the string is longer than @max
+ * Allocates and duplicates string. If the string is longer than @max
* characters, only @max are copied and a null terminating character
* is added.
*