Module Name: src
Committed By: rillig
Date: Sun Jun 18 22:18:13 UTC 2023
Modified Files:
src/common/lib/libc/string: strspn.c
Log Message:
strspn: fix typo in comment
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strspn.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/string/strspn.c
diff -u src/common/lib/libc/string/strspn.c:1.2 src/common/lib/libc/string/strspn.c:1.3
--- src/common/lib/libc/string/strspn.c:1.2 Sun Feb 4 01:13:45 2018
+++ src/common/lib/libc/string/strspn.c Sun Jun 18 22:18:13 2023
@@ -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 *ch
/*
* 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.
*/