Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/string strspn: fix typo in comment
details: https://anonhg.NetBSD.org/src/rev/e4a53bc93ab7
branches: trunk
changeset: 376452:e4a53bc93ab7
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Jun 18 22:18:13 2023 +0000
description:
strspn: fix typo in comment
diffstat:
common/lib/libc/string/strspn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 10b98ad27d8d -r e4a53bc93ab7 common/lib/libc/string/strspn.c
--- a/common/lib/libc/string/strspn.c Sun Jun 18 20:43:52 2023 +0000
+++ b/common/lib/libc/string/strspn.c Sun Jun 18 22:18:13 2023 +0000
@@ -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.
*/
Home |
Main Index |
Thread Index |
Old Index