summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2023-06-18 22:18:13 +0000
committerrillig <rillig@NetBSD.org>2023-06-18 22:18:13 +0000
commit69ee0630d23fc412f7d4b2d06632f2a4d7c23e74 (patch)
tree124bddc6105b8858759531c58549316b1772f799 /common
parent7c7ac0d37bead483ea097069ea15088c27a6339f (diff)
strspn: fix typo in comment
Diffstat (limited to 'common')
-rw-r--r--common/lib/libc/string/strspn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/lib/libc/string/strspn.c b/common/lib/libc/string/strspn.c
index 2c2a07ec0d6..a77ab235406 100644
--- a/common/lib/libc/string/strspn.c
+++ b/common/lib/libc/string/strspn.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strspn.c,v 1.2 2018/02/04 01:13:45 mrg Exp $ */
+/* $NetBSD: strspn.c,v 1.3 2023/06/18 22:18:13 rillig Exp $ */
/*-
* Copyright (c) 2008 Joerg Sonnenberger
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: strspn.c,v 1.2 2018/02/04 01:13:45 mrg Exp $");
+__RCSID("$NetBSD: strspn.c,v 1.3 2023/06/18 22:18:13 rillig Exp $");
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <assert.h>
@@ -114,7 +114,7 @@ strspn_x(const char *s_s, const char *charset_s, unsigned long invert)
/*
* We could do remove the lsb from m_0 to terminate at the
* end of the input string.
- * However prefetching the next char is benifitial and we must
+ * However prefetching the next char is beneficial and we must
* not read the byte after the \0 - as it might fault!
* So we take the 'hit' of the compare against 0.
*/