Module Name: src
Committed By: andvar
Date: Mon Feb 3 22:30:15 UTC 2025
Modified Files:
src/lib/libc/include: reentrant.h
src/sys/arch/evbppc/pmppc/dev: if_cs_mainbus.c
src/sys/arch/hpcmips/vr: vrkiu.c
src/sys/dev/tc: sfbreg.h
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/include/reentrant.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/hpcmips/vr/vrkiu.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/tc/sfbreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/include/reentrant.h
diff -u src/lib/libc/include/reentrant.h:1.22 src/lib/libc/include/reentrant.h:1.23
--- src/lib/libc/include/reentrant.h:1.22 Tue Aug 27 13:43:02 2024
+++ src/lib/libc/include/reentrant.h Mon Feb 3 22:30:15 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: reentrant.h,v 1.22 2024/08/27 13:43:02 riastradh Exp $ */
+/* $NetBSD: reentrant.h,v 1.23 2025/02/03 22:30:15 andvar Exp $ */
/*-
* Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
* Implementation Details:
*
* The thread primitives used by the library (mutex_t, mutex_lock, etc.)
- * are macros which expand to the cooresponding primitives provided by
+ * are macros which expand to the corresponding primitives provided by
* the thread engine or to nothing. The latter is used so that code is
* not unreasonably cluttered with #ifdefs when all thread safe support
* is removed.
Index: src/sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c
diff -u src/sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c:1.9 src/sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c:1.10
--- src/sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c:1.9 Wed Feb 16 23:49:26 2022
+++ src/sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c Mon Feb 3 22:30:15 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cs_mainbus.c,v 1.9 2022/02/16 23:49:26 riastradh Exp $ */
+/* $NetBSD: if_cs_mainbus.c,v 1.10 2025/02/03 22:30:15 andvar Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cs_mainbus.c,v 1.9 2022/02/16 23:49:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs_mainbus.c,v 1.10 2025/02/03 22:30:15 andvar Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -443,7 +443,7 @@ cs_check_eeprom(struct cs_softc *sc)
/*
* The CS8900a datasheet calls for the two's complement of the checksum
- * to be prgrammed in the most significant byte of the last word of the
+ * to be programmed in the most significant byte of the last word of the
* header.
*/
checksum = ~checksum + 1;
Index: src/sys/arch/hpcmips/vr/vrkiu.c
diff -u src/sys/arch/hpcmips/vr/vrkiu.c:1.41 src/sys/arch/hpcmips/vr/vrkiu.c:1.42
--- src/sys/arch/hpcmips/vr/vrkiu.c:1.41 Sat Aug 7 16:18:54 2021
+++ src/sys/arch/hpcmips/vr/vrkiu.c Mon Feb 3 22:30:15 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: vrkiu.c,v 1.41 2021/08/07 16:18:54 thorpej Exp $ */
+/* $NetBSD: vrkiu.c,v 1.42 2025/02/03 22:30:15 andvar Exp $ */
/*-
* Copyright (c) 1999 SASAKI Takesi All rights reserved.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vrkiu.c,v 1.41 2021/08/07 16:18:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vrkiu.c,v 1.42 2025/02/03 22:30:15 andvar Exp $");
#include <sys/param.h>
#include <sys/tty.h>
@@ -211,7 +211,7 @@ vrkiu_intr(void *arg)
{
struct vrkiu_softc *sc = arg;
- /* When key scan finisshed, this entry is called. */
+ /* When key scan finished, this entry is called. */
#if 0
DPRINTF(("vrkiu_intr: intr=%x scan=%x\n",
vrkiu_read(sc->sc_chip, KIUINT) & 7,
Index: src/sys/dev/tc/sfbreg.h
diff -u src/sys/dev/tc/sfbreg.h:1.3 src/sys/dev/tc/sfbreg.h:1.4
--- src/sys/dev/tc/sfbreg.h:1.3 Tue Dec 19 01:25:46 2000
+++ src/sys/dev/tc/sfbreg.h Mon Feb 3 22:30:15 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: sfbreg.h,v 1.3 2000/12/19 01:25:46 perseant Exp $ */
+/* $NetBSD: sfbreg.h,v 1.4 2025/02/03 22:30:15 andvar Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
/*
* Smart ("CXTurbo") Frame Buffer definitions, from:
- * ``DEC 3000 300/400/500/600/700/800/900 AXP Models System Prgrammer's Manual''
+ * ``DEC 3000 300/400/500/600/700/800/900 AXP Models System Programmer's Manual''
* (DEC order number EK-D3SYS-PM), section 6.
*
* All definitions are in "dense" TURBOchannel space.
@@ -91,7 +91,7 @@
#define SFB_ASIC_VIDCLK 0x007c /* VIDCLK count (R/W) */
/*
- * Same as above but in 32-bit units, and named like the corrseponding
+ * Same as above but in 32-bit units, and named like the corresponding
* TGA registers, for easy comparison.
*/
typedef u_int32_t sfb_reg_t;