Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/elf2ecoff fix few typos in comments and log messages.
details: https://anonhg.NetBSD.org/src/rev/fe41343292fe
branches: trunk
changeset: 373852:fe41343292fe
user: andvar <andvar%NetBSD.org@localhost>
date: Mon Mar 06 21:39:06 2023 +0000
description:
fix few typos in comments and log messages.
diffstat:
common/lib/libc/gen/radixtree.c | 12 ++++++------
sys/arch/mipsco/mipsco/machdep.c | 6 +++---
usr.bin/elf2ecoff/elf2ecoff.c | 8 ++++----
3 files changed, 13 insertions(+), 13 deletions(-)
diffs (117 lines):
diff -r 5a72ef0581f4 -r fe41343292fe common/lib/libc/gen/radixtree.c
--- a/common/lib/libc/gen/radixtree.c Mon Mar 06 13:15:15 2023 +0000
+++ b/common/lib/libc/gen/radixtree.c Mon Mar 06 21:39:06 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $ */
+/* $NetBSD: radixtree.c,v 1.29 2023/03/06 21:39:06 andvar Exp $ */
/*-
* Copyright (c)2011,2012,2013 YAMAMOTO Takashi,
@@ -104,7 +104,7 @@
* intermediate nodes and quickly skips uninterested parts of a tree.
*
* A tree has RADIX_TREE_TAG_ID_MAX independent tag spaces, each of which are
- * identified by an zero-origin numbers, tagid. For the current implementation,
+ * identified by a zero-origin numbers, tagid. For the current implementation,
* RADIX_TREE_TAG_ID_MAX is 2. A set of tags is described as a bitmask tagmask,
* which is a bitwise OR of (1 << tagid).
*/
@@ -112,7 +112,7 @@
#include <sys/cdefs.h>
#if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.29 2023/03/06 21:39:06 andvar Exp $");
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/pool.h>
@@ -122,7 +122,7 @@
#include <lib/libsa/stand.h>
#endif /* defined(_STANDALONE) */
#else /* defined(_KERNEL) || defined(_STANDALONE) */
-__RCSID("$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $");
+__RCSID("$NetBSD: radixtree.c,v 1.29 2023/03/06 21:39:06 andvar Exp $");
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
@@ -912,7 +912,7 @@
/*
* following the left-most (or right-most in the case of
* reverse scan) child node, descend until reaching the leaf or
- * an non-matching entry.
+ * a non-matching entry.
*/
while (entry_match_p(*vpp, tagmask) && lastidx < t->t_height) {
/*
@@ -952,7 +952,7 @@
* Note that this function doesn't return index values of found nodes.
* Thus, in the case of dense == false, if index values are important for
* a caller, it's the caller's responsibility to check them, typically
- * by examinining the returned nodes using some caller-specific knowledge
+ * by examining the returned nodes using some caller-specific knowledge
* about them.
* In the case of dense == true, a node returned via results[N] is always for
* the index (idx + N).
diff -r 5a72ef0581f4 -r fe41343292fe sys/arch/mipsco/mipsco/machdep.c
--- a/sys/arch/mipsco/mipsco/machdep.c Mon Mar 06 13:15:15 2023 +0000
+++ b/sys/arch/mipsco/mipsco/machdep.c Mon Mar 06 21:39:06 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.80 2016/12/22 14:47:58 cherry Exp $ */
+/* $NetBSD: machdep.c,v 1.81 2023/03/06 21:39:06 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.80 2016/12/22 14:47:58 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.81 2023/03/06 21:39:06 andvar Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@@ -197,7 +197,7 @@
#if NKSYMS || defined(DDB) || defined(LKM)
bi_syms = lookup_bootinfo(BTINFO_SYMTAB);
- /* Load sysmbol table if present */
+ /* Load symbol table if present */
if (bi_syms != NULL) {
ssym = (void *)bi_syms->ssym;
esym = (void *)bi_syms->esym;
diff -r 5a72ef0581f4 -r fe41343292fe usr.bin/elf2ecoff/elf2ecoff.c
--- a/usr.bin/elf2ecoff/elf2ecoff.c Mon Mar 06 13:15:15 2023 +0000
+++ b/usr.bin/elf2ecoff/elf2ecoff.c Mon Mar 06 21:39:06 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elf2ecoff.c,v 1.33 2017/02/24 17:19:14 christos Exp $ */
+/* $NetBSD: elf2ecoff.c,v 1.34 2023/03/06 21:39:06 andvar Exp $ */
/*
* Copyright (c) 1997 Jonathan Stone
@@ -246,7 +246,7 @@
nbss.len = ph[i].p_memsz - ph[i].p_filesz;
if (debug) {
- fprintf(stderr, " combinining PH %zu type %d "
+ fprintf(stderr, " combining PH %zu type %d "
"flags %#x with data, ndata = %d, "
"nbss =%d\n", i, ph[i].p_type,
ph[i].p_flags, ndata.len, nbss.len);
@@ -259,7 +259,7 @@
ntxt.vaddr = ph[i].p_vaddr;
ntxt.len = ph[i].p_filesz;
if (debug) {
- fprintf(stderr, " combinining PH %zu type %d "
+ fprintf(stderr, " combining PH %zu type %d "
"flags %#x with text, len = %d\n",
i, ph[i].p_type, ph[i].p_flags, ntxt.len);
}
@@ -717,7 +717,7 @@
/*
- * In-memory translation of ELF symbosl to ECOFF.
+ * In-memory translation of ELF symbols to ECOFF.
*/
static void
translate_syms(struct elf_syms *elfp, struct ecoff_syms *ecoffp)
Home |
Main Index |
Thread Index |
Old Index