Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src fix various typos in comments, log messages and documentation.



details:   https://anonhg.NetBSD.org/src/rev/10454aff5454
branches:  trunk
changeset: 359995:10454aff5454
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Feb 06 20:20:18 2022 +0000

description:
fix various typos in comments, log messages and documentation.
mainly s/aparently/apparently/ and s/implmented/implemented/.

diffstat:

 sbin/newfs_udf/udf_create.c        |   6 +++---
 sys/arch/acorn32/doc/history       |  12 ++++++------
 sys/arch/arm/nxp/imx_ahcisata.c    |   6 +++---
 sys/arch/mips/cavium/octeon_misc.c |   6 +++---
 sys/arch/sun2/sun2/pmap.c          |   6 +++---
 sys/arch/sun3/sun3/pmap.c          |   6 +++---
 sys/fs/udf/udf_subr.c              |   6 +++---
 sys/fs/udf/udf_vnops.c             |   6 +++---
 8 files changed, 27 insertions(+), 27 deletions(-)

diffs (240 lines):

diff -r 0564a182cb20 -r 10454aff5454 sbin/newfs_udf/udf_create.c
--- a/sbin/newfs_udf/udf_create.c       Sun Feb 06 19:29:52 2022 +0000
+++ b/sbin/newfs_udf/udf_create.c       Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        }
 
        if (error) {
-               /* aparently too big */
+               /* apparently too big */
                free(pathbuf);
                return error;
        }
diff -r 0564a182cb20 -r 10454aff5454 sys/arch/acorn32/doc/history
--- a/sys/arch/acorn32/doc/history      Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/arch/acorn32/doc/history      Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        - 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 @@
        - 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 @@
        - 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 @@
        - 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
 
diff -r 0564a182cb20 -r 10454aff5454 sys/arch/arm/nxp/imx_ahcisata.c
--- a/sys/arch/arm/nxp/imx_ahcisata.c   Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/arch/arm/nxp/imx_ahcisata.c   Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        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);
 
diff -r 0564a182cb20 -r 10454aff5454 sys/arch/mips/cavium/octeon_misc.c
--- a/sys/arch/mips/cavium/octeon_misc.c        Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/arch/mips/cavium/octeon_misc.c        Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
                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,
diff -r 0564a182cb20 -r 10454aff5454 sys/arch/sun2/sun2/pmap.c
--- a/sys/arch/sun2/sun2/pmap.c Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/arch/sun2/sun2/pmap.c Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        /* 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
diff -r 0564a182cb20 -r 10454aff5454 sys/arch/sun3/sun3/pmap.c
--- a/sys/arch/sun3/sun3/pmap.c Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/arch/sun3/sun3/pmap.c Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        /* 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
diff -r 0564a182cb20 -r 10454aff5454 sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c     Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/fs/udf/udf_subr.c     Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        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
diff -r 0564a182cb20 -r 10454aff5454 sys/fs/udf/udf_vnops.c
--- a/sys/fs/udf/udf_vnops.c    Sun Feb 06 19:29:52 2022 +0000
+++ b/sys/fs/udf/udf_vnops.c    Sun Feb 06 20:20:18 2022 +0000
@@ -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 @@
        }
 
        if (error) {
-               /* aparently too big */
+               /* apparently too big */
                free(pathbuf, M_UDFTEMP);
                return error;
        }



Home | Main Index | Thread Index | Old Index