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 fix typos in comments.
details: https://anonhg.NetBSD.org/src/rev/c05fe398f1c2
branches: trunk
changeset: 359642:c05fe398f1c2
user: andvar <andvar%NetBSD.org@localhost>
date: Sat Jan 15 10:38:56 2022 +0000
description:
fix typos in comments.
diffstat:
common/lib/libc/string/memset2.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r a7769a45dfc0 -r c05fe398f1c2 common/lib/libc/string/memset2.c
--- a/common/lib/libc/string/memset2.c Sat Jan 15 10:32:32 2022 +0000
+++ b/common/lib/libc/string/memset2.c Sat Jan 15 10:38:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: memset2.c,v 1.10 2021/04/19 01:12:10 simonb Exp $ */
+/* $NetBSD: memset2.c,v 1.11 2022/01/15 10:38:56 andvar Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: memset2.c,v 1.10 2021/04/19 01:12:10 simonb Exp $");
+__RCSID("$NetBSD: memset2.c,v 1.11 2022/01/15 10:38:56 andvar Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -95,7 +95,7 @@
/*
* Pad out the fill byte (v) across a memword_t.
- * The conditional at the end prevents GCC from complaing about
+ * The conditional at the end prevents GCC from complaining about
* shift count >= width of type
*/
fill = (unsigned char)c;
@@ -183,13 +183,13 @@
/*
* We want to clear <len> leading bytes in the word.
* On big/little endian, these are the most/least significant
- * bits, respectively, But as we want the mask of the bytes to
+ * bits, respectively. But as we want the mask of the bytes to
* keep, we have to complement the mask. So after we shift,
* the keep_mask will only have bits set for the bytes we won't
* be filling.
*
* But the keep_mask could already have bytes to preserve
- * if the amount to fill was less than the amount of traiing
+ * if the amount to fill was less than the amount of trailing
* space in the first word.
*/
#if BYTE_ORDER == BIG_ENDIAN
Home |
Main Index |
Thread Index |
Old Index