aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/stringop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stringop.c b/common/stringop.c
index 186fe121..61324458 100644
--- a/common/stringop.c
+++ b/common/stringop.c
@@ -342,7 +342,7 @@ char *cmdsep(char **stringp, const char *delim) {
char *head = *stringp + strspn(*stringp, delim);
// Find end token
char *tail = *stringp += strcspn(*stringp, delim);
- // Set stringp to begining of next token
+ // Set stringp to beginning of next token
*stringp += strspn(*stringp, delim);
// Set stringp to null if last token
if (!**stringp) *stringp = NULL;