Module Name: src
Committed By: andvar
Date: Sun Feb 6 20:20:19 UTC 2022
Modified Files:
src/sbin/newfs_udf: udf_create.c
src/sys/arch/acorn32/doc: history
src/sys/arch/arm/nxp: imx_ahcisata.c
src/sys/arch/mips/cavium: octeon_misc.c
src/sys/arch/sun2/sun2: pmap.c
src/sys/arch/sun3/sun3: pmap.c
src/sys/fs/udf: udf_subr.c udf_vnops.c
Log Message:
fix various typos in comments, log messages and documentation.
mainly s/aparently/apparently/ and s/implmented/implemented/.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sbin/newfs_udf/udf_create.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/acorn32/doc/history
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/nxp/imx_ahcisata.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/cavium/octeon_misc.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/sun2/sun2/pmap.c
cvs rdiff -u -r1.172 -r1.173 src/sys/arch/sun3/sun3/pmap.c
cvs rdiff -u -r1.165 -r1.166 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.117 -r1.118 src/sys/fs/udf/udf_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/newfs_udf/udf_create.c
diff -u src/sbin/newfs_udf/udf_create.c:1.30 src/sbin/newfs_udf/udf_create.c:1.31
--- src/sbin/newfs_udf/udf_create.c:1.30 Fri Aug 20 20:25:26 2021
+++ src/sbin/newfs_udf/udf_create.c Sun Feb 6 20:20:18 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_create.c,v 1.30 2021/08/20 20:25:26 andvar Exp $ */
+/* $NetBSD: udf_create.c,v 1.31 2022/02/06 20:20:18 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -30,7 +30,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: udf_create.c,v 1.30 2021/08/20 20:25:26 andvar Exp $");
+__RCSID("$NetBSD: udf_create.c,v 1.31 2022/02/06 20:20:18 andvar Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -1561,7 +1561,7 @@ udf_encode_symlink(uint8_t **pathbufp, u
}
if (error) {
- /* aparently too big */
+ /* apparently too big */
free(pathbuf);
return error;
}
Index: src/sys/arch/acorn32/doc/history
diff -u src/sys/arch/acorn32/doc/history:1.7 src/sys/arch/acorn32/doc/history:1.8
--- src/sys/arch/acorn32/doc/history:1.7 Tue Aug 17 22:00:26 2021
+++ src/sys/arch/acorn32/doc/history Sun Feb 6 20:20:19 2022
@@ -1,9 +1,9 @@
-# $NetBSD: history,v 1.7 2021/08/17 22:00:26 andvar Exp $
+# $NetBSD: history,v 1.8 2022/02/06 20:20:19 andvar Exp $
---------------------------------------------------------------------------
This document is more included as a historical reference and nostalgia :)
rather than a still worked on list.
---------------------------------------------------------------------------
-(stuff before this time is aparently lost)
+(stuff before this time is apparently lost)
3135 - fixed mode selection on boot
- page up/down, insert and delete now generate the correct codes in
@@ -32,7 +32,7 @@ rather than a still worked on list.
- added a routine to read the keyboard state.
- added a routine to set the keyboard state.
- added some prototypes to kbd.h
- - implmented irq_setmasks() as an assembly function.
+ - implemented irq_setmasks() as an assembly function.
- added an extra disable irq mask
- the irq bits from IOMD reg A are cleared as soon as req A is read
- Debugged the plip driver. The ip packet is now word aligned when
@@ -315,7 +315,7 @@ rather than a still worked on list.
- More debugging code added to trace vnode bug
- macro added to syscall.c to handle exit from the syscall handler
for special development syscalls.
- - Vnode bug idenitfied as a corruption of the first word (v_flag)
+ - Vnode bug identified as a corruption of the first word (v_flag)
of certain vnodes.
- Ether3 driver rewritten and debugged. Now a beta stage driver
- Vnode corruption traced to console code.
@@ -399,7 +399,7 @@ rather than a still worked on list.
- mainbus/ramdisc.c removed.
- generic ramdisc has now replaces to mainbus/ramdisc.
- fault.c reformatted
- - new compile symbols introduced to comile in debug code for
+ - new compile symbols introduced to compile in debug code for
fault correction.
- all remnants of the trace_debug code removed.
- armfpe code moved from arm32/fpe-arm/arm32 to arm32/fpe-arm/
@@ -418,7 +418,7 @@ rather than a still worked on list.
- updated ramdisc hooks to removed the need for a rd_match_hook()
function
- added Oak to the list of podule manufacturers
- - kernel now reconised Oak SCSI I cards.
+ - kernel now recognised Oak SCSI I cards.
- Added generic NCR5380 SCSI driver code
- integrating in alpha version of the oak SCSI driver
Index: src/sys/arch/arm/nxp/imx_ahcisata.c
diff -u src/sys/arch/arm/nxp/imx_ahcisata.c:1.3 src/sys/arch/arm/nxp/imx_ahcisata.c:1.4
--- src/sys/arch/arm/nxp/imx_ahcisata.c:1.3 Wed Jan 27 03:10:20 2021
+++ src/sys/arch/arm/nxp/imx_ahcisata.c Sun Feb 6 20:20:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: imx_ahcisata.c,v 1.3 2021/01/27 03:10:20 thorpej Exp $ */
+/* $NetBSD: imx_ahcisata.c,v 1.4 2022/02/06 20:20:19 andvar Exp $ */
/*-
* Copyright (c) 2019 Genetec Corporation. All rights reserved.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx_ahcisata.c,v 1.3 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx_ahcisata.c,v 1.4 2022/02/06 20:20:19 andvar Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -450,7 +450,7 @@ imx_ahcisata_init(struct imx_ahcisata_so
v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SATA_CAP);
bus_space_write_4(sc->sc_iot, sc->sc_ioh, SATA_CAP, v | SATA_CAP_SSS);
- /* Ports Implmented. must set 1 */
+ /* Ports Implemented. must set 1 */
v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SATA_PI);
bus_space_write_4(sc->sc_iot, sc->sc_ioh, SATA_PI, v | SATA_PI_PI);
Index: src/sys/arch/mips/cavium/octeon_misc.c
diff -u src/sys/arch/mips/cavium/octeon_misc.c:1.1 src/sys/arch/mips/cavium/octeon_misc.c:1.2
--- src/sys/arch/mips/cavium/octeon_misc.c:1.1 Mon Jun 15 07:48:12 2020
+++ src/sys/arch/mips/cavium/octeon_misc.c Sun Feb 6 20:20:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: octeon_misc.c,v 1.1 2020/06/15 07:48:12 simonb Exp $ */
+/* $NetBSD: octeon_misc.c,v 1.2 2022/02/06 20:20:19 andvar Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_misc.c,v 1.1 2020/06/15 07:48:12 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_misc.c,v 1.2 2022/02/06 20:20:19 andvar Exp $");
#include <sys/param.h>
@@ -208,7 +208,7 @@ octeon_cpu_model(mips_prid_t cpu_id)
tested = true;
break;
default:
- panic("IMPL 0x%02x not implmented", MIPS_PRID_IMPL(cpu_id));
+ panic("IMPL 0x%02x not implemented", MIPS_PRID_IMPL(cpu_id));
}
snprintf(buf, sizeof(buf), "CN%s%s-%d%s", family, coremodel,
Index: src/sys/arch/sun2/sun2/pmap.c
diff -u src/sys/arch/sun2/sun2/pmap.c:1.48 src/sys/arch/sun2/sun2/pmap.c:1.49
--- src/sys/arch/sun2/sun2/pmap.c:1.48 Thu Dec 22 14:47:59 2016
+++ src/sys/arch/sun2/sun2/pmap.c Sun Feb 6 20:20:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.48 2016/12/22 14:47:59 cherry Exp $ */
+/* $NetBSD: pmap.c,v 1.49 2022/02/06 20:20:19 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.48 2016/12/22 14:47:59 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.49 2022/02/06 20:20:19 andvar Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@@ -2154,7 +2154,7 @@ pmap_enter_user(pmap_t pmap, vaddr_t pgv
/* Validate this assumption. */
if (pmap != current_pmap()) {
#ifdef PMAP_DEBUG
- /* Aparently, this never happens. */
+ /* Apparently, this never happens. */
db_printf("pmap_enter_user: not curlwp\n");
Debugger();
#endif
Index: src/sys/arch/sun3/sun3/pmap.c
diff -u src/sys/arch/sun3/sun3/pmap.c:1.172 src/sys/arch/sun3/sun3/pmap.c:1.173
--- src/sys/arch/sun3/sun3/pmap.c:1.172 Mon Aug 2 12:56:23 2021
+++ src/sys/arch/sun3/sun3/pmap.c Sun Feb 6 20:20:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.172 2021/08/02 12:56:23 andvar Exp $ */
+/* $NetBSD: pmap.c,v 1.173 2022/02/06 20:20:19 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.172 2021/08/02 12:56:23 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.173 2022/02/06 20:20:19 andvar Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@@ -2181,7 +2181,7 @@ pmap_enter_user(pmap_t pmap, vaddr_t pgv
/* Validate this assumption. */
if (pmap != current_pmap()) {
#ifdef PMAP_DEBUG
- /* Aparently, this never happens. */
+ /* Apparently, this never happens. */
db_printf("pmap_enter_user: not curlwp\n");
Debugger();
#endif
Index: src/sys/fs/udf/udf_subr.c
diff -u src/sys/fs/udf/udf_subr.c:1.165 src/sys/fs/udf/udf_subr.c:1.166
--- src/sys/fs/udf/udf_subr.c:1.165 Tue Jan 25 22:01:35 2022
+++ src/sys/fs/udf/udf_subr.c Sun Feb 6 20:20:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.165 2022/01/25 22:01:35 andvar Exp $ */
+/* $NetBSD: udf_subr.c,v 1.166 2022/02/06 20:20:19 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.165 2022/01/25 22:01:35 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.166 2022/02/06 20:20:19 andvar Exp $");
#endif /* not lint */
@@ -3427,7 +3427,7 @@ udf_read_rootdirs(struct udf_mount *ump)
if (error)
return ENOENT;
- /* aparently it read in fine */
+ /* apparently it reads in fine */
/*
* Try the system stream directory; not very likely in the ones we
Index: src/sys/fs/udf/udf_vnops.c
diff -u src/sys/fs/udf/udf_vnops.c:1.117 src/sys/fs/udf/udf_vnops.c:1.118
--- src/sys/fs/udf/udf_vnops.c:1.117 Wed Oct 20 03:08:17 2021
+++ src/sys/fs/udf/udf_vnops.c Sun Feb 6 20:20:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.117 2021/10/20 03:08:17 thorpej Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.118 2022/02/06 20:20:19 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.117 2021/10/20 03:08:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.118 2022/02/06 20:20:19 andvar Exp $");
#endif /* not lint */
@@ -1688,7 +1688,7 @@ udf_do_symlink(struct udf_node *udf_node
}
if (error) {
- /* aparently too big */
+ /* apparently too big */
free(pathbuf, M_UDFTEMP);
return error;
}