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 and messages.



details:   https://anonhg.NetBSD.org/src/rev/47dd9c9d309a
branches:  trunk
changeset: 1022850:47dd9c9d309a
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Aug 09 19:24:32 2021 +0000

description:
fix various typos in comments and messages.

diffstat:

 distrib/alpha/instkernel/ramdisk/upgrade.sh |  4 ++--
 distrib/amiga/floppies/upgr/upgrade.sh      |  4 ++--
 doc/TODO.smpnet                             |  6 +++---
 sys/arch/arm/gemini/gemini_ipm.c            |  4 ++--
 sys/arch/hpcmips/tx/tx3912video.c           |  6 +++---
 sys/arch/shark/shark/scr.c                  |  6 +++---
 sys/dev/mscp/mscp_disk.c                    |  6 +++---
 usr.sbin/sysinst/arch/hpcarm/md.c           |  4 ++--
 usr.sbin/sysinst/arch/zaurus/md.c           |  4 ++--
 9 files changed, 22 insertions(+), 22 deletions(-)

diffs (203 lines):

diff -r dddd6c9bfe90 -r 47dd9c9d309a distrib/alpha/instkernel/ramdisk/upgrade.sh
--- a/distrib/alpha/instkernel/ramdisk/upgrade.sh       Mon Aug 09 11:29:30 2021 +0000
+++ b/distrib/alpha/instkernel/ramdisk/upgrade.sh       Mon Aug 09 19:24:32 2021 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: upgrade.sh,v 1.3 2003/07/26 17:06:26 salo Exp $
+# $NetBSD: upgrade.sh,v 1.4 2021/08/09 19:24:32 andvar Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -62,7 +62,7 @@
 echo   "on your hard disk, in a simple and rational way.  To upgrade, you"
 echo   "must have plenty of free space on all partitions which will be"
 echo   "upgraded.  If you have at least 1MB free on your root partition,"
-echo   "and several free on your /usr patition, you should be fine."
+echo   "and several free on your /usr partition, you should be fine."
 echo   ""
 echo   "As with anything which modifies your hard drive's contents, this"
 echo   "program can cause SIGNIFICANT data loss, and you are advised"
diff -r dddd6c9bfe90 -r 47dd9c9d309a distrib/amiga/floppies/upgr/upgrade.sh
--- a/distrib/amiga/floppies/upgr/upgrade.sh    Mon Aug 09 11:29:30 2021 +0000
+++ b/distrib/amiga/floppies/upgr/upgrade.sh    Mon Aug 09 19:24:32 2021 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: upgrade.sh,v 1.9 2009/12/23 09:13:21 mbalmer Exp $
+# $NetBSD: upgrade.sh,v 1.10 2021/08/09 19:24:32 andvar Exp $
 #
 # Copyright (c) 1994 Christopher G. Demetriou
 # All rights reserved.
@@ -98,7 +98,7 @@
 echo   "on your hard disk, in a simple and rational way.  To upgrade, you"
 echo   "must have plenty of free space on all partitions which will be"
 echo   "upgraded.  If you have at least 1MB free on your root partition,"
-echo   "and several free on your /usr patition, you should be fine."
+echo   "and several free on your /usr partition, you should be fine."
 echo   ""
 echo   "As with anything which modifies your hard drive's contents, this"
 echo   "program can cause SIGNIFICANT data loss, and you are advised"
diff -r dddd6c9bfe90 -r 47dd9c9d309a doc/TODO.smpnet
--- a/doc/TODO.smpnet   Mon Aug 09 11:29:30 2021 +0000
+++ b/doc/TODO.smpnet   Mon Aug 09 19:24:32 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO.smpnet,v 1.43 2021/08/04 13:50:47 nia Exp $
+$NetBSD: TODO.smpnet,v 1.44 2021/08/09 19:24:33 andvar Exp $
 
 MP-safe components
 ==================
@@ -129,7 +129,7 @@
 
 MP-ification of bpf requires all of bpf_mtap* are called in normal LWP context
 or softint context, i.e., not in hardware interrupt context.  For Tx, all
-bpf_mtap satisfy the requrement.  For Rx, most of bpf_mtap are called in softint.
+bpf_mtap satisfy the requirement.  For Rx, most of bpf_mtap are called in softint.
 Unfortunately some bpf_mtap on Rx are still called in hardware interrupt context.
 
 This is the list of the functions that have such bpf_mtap:
@@ -240,7 +240,7 @@
 The address initialization creates an local route first and then registers an
 initializing address to the global hash table that is used to decide if an
 incoming packet destinates to the host by checking the destination of the packet
-is registered to the hash table.  So, if the host allows forwaring, an incoming
+is registered to the hash table.  So, if the host allows forwarding, an incoming
 packet can match on a local route of an initializing address at ip_output while
 it fails the to-self check described above at ip_input.  Because a matched local
 route points a loopback interface as its destination interface, an incoming
diff -r dddd6c9bfe90 -r 47dd9c9d309a sys/arch/arm/gemini/gemini_ipm.c
--- a/sys/arch/arm/gemini/gemini_ipm.c  Mon Aug 09 11:29:30 2021 +0000
+++ b/sys/arch/arm/gemini/gemini_ipm.c  Mon Aug 09 19:24:32 2021 +0000
@@ -7,7 +7,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: gemini_ipm.c,v 1.4 2021/08/07 16:18:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_ipm.c,v 1.5 2021/08/09 19:24:33 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -126,7 +126,7 @@
 
 
        /*
-        * queues are flipped tx/rx for mater/slave
+        * queues are flipped tx/rx for master/slave
         */
        KASSERT(GEMINI_IPMQ_SIZE == (2 * sizeof(ipm_queue_t)));
 #if defined(GEMINI_MASTER)
diff -r dddd6c9bfe90 -r 47dd9c9d309a sys/arch/hpcmips/tx/tx3912video.c
--- a/sys/arch/hpcmips/tx/tx3912video.c Mon Aug 09 11:29:30 2021 +0000
+++ b/sys/arch/hpcmips/tx/tx3912video.c Mon Aug 09 19:24:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tx3912video.c,v 1.47 2021/08/07 16:18:54 thorpej Exp $ */
+/*     $NetBSD: tx3912video.c,v 1.48 2021/08/09 19:24:33 andvar Exp $ */
 
 /*-
  * Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tx3912video.c,v 1.47 2021/08/07 16:18:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tx3912video.c,v 1.48 2021/08/09 19:24:33 andvar Exp $");
 
 #define TX3912VIDEO_DEBUG
 
@@ -344,7 +344,7 @@
        /* Set DMA transfer address to VID module */
        tx3912video_framebuffer_init(chip);
        
-       /* Syncronize framebuffer addr to frame signal */
+       /* Synchronize framebuffer addr to frame signal */
        tx3912video_reset(chip);
 
        bootinfo->fb_line_bytes = (chip->vc_fbwidth * fbdepth) / NBBY;
diff -r dddd6c9bfe90 -r 47dd9c9d309a sys/arch/shark/shark/scr.c
--- a/sys/arch/shark/shark/scr.c        Mon Aug 09 11:29:30 2021 +0000
+++ b/sys/arch/shark/shark/scr.c        Mon Aug 09 19:24:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scr.c,v 1.31 2016/07/07 06:55:38 msaitoh Exp $ */
+/*     $NetBSD: scr.c,v 1.32 2021/08/09 19:24:33 andvar Exp $  */
 
 /*
  * Copyright 1997
@@ -102,7 +102,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.31 2016/07/07 06:55:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.32 2021/08/09 19:24:33 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -1386,7 +1386,7 @@
 **      requirement that the scrioctl disables interrupts before calling this function.
 **
 **      NB:- there is no way for the machine to get from msIdleOn to msIdleOff.  Since
-**      this is just a mater of turning all signals off and resetting state machines,
+**      this is just a matter of turning all signals off and resetting state machines,
 **      scrioctl takes a shortcut and resets everything itself.   Ie it hits everything
 **      with a big hammer!!
 **
diff -r dddd6c9bfe90 -r 47dd9c9d309a sys/dev/mscp/mscp_disk.c
--- a/sys/dev/mscp/mscp_disk.c  Mon Aug 09 11:29:30 2021 +0000
+++ b/sys/dev/mscp/mscp_disk.c  Mon Aug 09 19:24:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mscp_disk.c,v 1.89 2016/03/29 04:55:53 mlelstv Exp $   */
+/*     $NetBSD: mscp_disk.c,v 1.90 2021/08/09 19:24:33 andvar Exp $    */
 /*
  * Copyright (c) 1988 Regents of the University of California.
  * All rights reserved.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mscp_disk.c,v 1.89 2016/03/29 04:55:53 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mscp_disk.c,v 1.90 2021/08/09 19:24:33 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -1060,7 +1060,7 @@
 
 /*
  * A transfer failed.  We get a chance to fix or restart it.
- * Need to write the bad block forwaring code first....
+ * Need to write the bad block forwarding code first....
  */
 /*ARGSUSED*/
 int
diff -r dddd6c9bfe90 -r 47dd9c9d309a usr.sbin/sysinst/arch/hpcarm/md.c
--- a/usr.sbin/sysinst/arch/hpcarm/md.c Mon Aug 09 11:29:30 2021 +0000
+++ b/usr.sbin/sysinst/arch/hpcarm/md.c Mon Aug 09 19:24:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.9 2020/10/12 16:14:34 martin Exp $ */
+/*     $NetBSD: md.c,v 1.10 2021/08/09 19:24:33 andvar Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -220,7 +220,7 @@
        /* Clear BPB */
        memset(&pbr.mbr_bpb, 0, sizeof(pbr.mbr_bpb));
 
-       /* write-backed new patition boot record */
+       /* write-backed new partition boot record */
        (void)pwrite(fd, &pbr, sizeof(pbr), 0);
 
 out:
diff -r dddd6c9bfe90 -r 47dd9c9d309a usr.sbin/sysinst/arch/zaurus/md.c
--- a/usr.sbin/sysinst/arch/zaurus/md.c Mon Aug 09 11:29:30 2021 +0000
+++ b/usr.sbin/sysinst/arch/zaurus/md.c Mon Aug 09 19:24:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.10 2020/10/14 08:49:04 martin Exp $   */
+/*     $NetBSD: md.c,v 1.11 2021/08/09 19:24:33 andvar Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -197,7 +197,7 @@
        /* Clear BPB */
        memset(&pbr.mbr_bpb, 0, sizeof(pbr.mbr_bpb));
 
-       /* write-backed new patition boot record */
+       /* write-backed new partition boot record */
        (void)pwrite(fd, &pbr, sizeof(pbr), 0);
 
 out:



Home | Main Index | Thread Index | Old Index