Source-Changes-HG archive

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

[src/trunk]: src fix some more typos in comments/log messages, improve wordin...



details:   https://anonhg.NetBSD.org/src/rev/f66505423ae7
branches:  trunk
changeset: 1023054:f66505423ae7
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Aug 21 11:55:24 2021 +0000

description:
fix some more typos in comments/log messages, improve wording as well.

diffstat:

 libexec/httpd/bozohttpd.c            |   4 ++--
 share/mk/bsd.lib.mk                  |   4 ++--
 sys/arch/acorn32/podulebus/esc.c     |  24 ++++++++++++------------
 sys/arch/acorn32/podulebus/escvar.h  |   4 ++--
 sys/arch/acorn32/podulebus/sfas.c    |  24 ++++++++++++------------
 sys/arch/acorn32/podulebus/sfasvar.h |   4 ++--
 sys/arch/atari/pci/pci_machdep.c     |   6 +++---
 sys/arch/mac68k/dev/pm_direct.c      |   8 ++++----
 sys/arch/sgimips/conf/GENERIC32_IP12 |   6 +++---
 sys/arch/sgimips/conf/GENERIC32_IP2x |   6 +++---
 sys/arch/sgimips/conf/GENERIC32_IP3x |   6 +++---
 sys/arch/sparc64/sparc64/autoconf.c  |   8 ++++----
 sys/dev/dkwedge/dk.c                 |   6 +++---
 sys/dev/i2c/si70xx.c                 |   6 +++---
 sys/dev/ic/isp_target.c              |   8 ++++----
 sys/dev/ic/wd33c93.c                 |   6 +++---
 sys/dev/ieee1394/fwohci.c            |   6 +++---
 sys/dev/usb/if_upgt.c                |  10 +++++-----
 sys/dev/usb/if_upgtvar.h             |   8 ++++----
 sys/net80211/ieee80211.c             |   6 +++---
 sys/sys/audioio.h                    |   4 ++--
 tests/lib/libcurses/t_curses.sh      |   2 +-
 usr.sbin/sysinst/disks.c             |   4 ++--
 23 files changed, 85 insertions(+), 85 deletions(-)

diffs (truncated from 750 to 300 lines):

diff -r 18ff8b7e0154 -r f66505423ae7 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Sat Aug 21 11:50:57 2021 +0000
+++ b/libexec/httpd/bozohttpd.c Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bozohttpd.c,v 1.132 2021/05/05 07:41:48 mrg Exp $      */
+/*     $NetBSD: bozohttpd.c,v 1.133 2021/08/21 11:55:24 andvar Exp $   */
 
 /*     $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $      */
 
@@ -1459,7 +1459,7 @@
 
 /*
  * checks to see if this request has a valid .bzredirect file.  returns
- * 0 when no redirection happend, or 1 when handle_redirect() has been
+ * 0 when no redirection happened, or 1 when handle_redirect() has been
  * called, -1 on error.
  */
 static int
diff -r 18ff8b7e0154 -r f66505423ae7 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Sat Aug 21 11:50:57 2021 +0000
+++ b/share/mk/bsd.lib.mk       Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.384 2020/11/09 16:15:05 christos Exp $
+#      $NetBSD: bsd.lib.mk,v 1.385 2021/08/21 11:55:24 andvar Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -147,7 +147,7 @@
 # SHLIB_MAJOR, SHLIB_MINOR, SHLIB_TEENY: Major, minor, and teeny version
 #                      numbers of shared library
 # SHLIB_SOVERSION:     version number to be compiled into a shared library
-#                      via -soname. Usualy ${SHLIB_MAJOR} on ELF.
+#                      via -soname. Usually ${SHLIB_MAJOR} on ELF.
 #                      NetBSD/pmax used to use ${SHLIB_MAJOR}[.${SHLIB_MINOR}
 #                      [.${SHLIB_TEENY}]]
 # SHLIB_SHFLAGS:       Flags to tell ${LD} to emit shared library.
diff -r 18ff8b7e0154 -r f66505423ae7 sys/arch/acorn32/podulebus/esc.c
--- a/sys/arch/acorn32/podulebus/esc.c  Sat Aug 21 11:50:57 2021 +0000
+++ b/sys/arch/acorn32/podulebus/esc.c  Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: esc.c,v 1.33 2020/07/22 01:24:39 msaitoh Exp $ */
+/*     $NetBSD: esc.c,v 1.34 2021/08/21 11:55:24 andvar Exp $  */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.33 2020/07/22 01:24:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.34 2021/08/21 11:55:24 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -209,7 +209,7 @@
        if (dev->sc_clock_freq <= 40)
                dev->sc_clock_conv_fact = 2+((dev->sc_clock_freq-10)/5);
        else
-               panic("escinitialize: Clock frequence too high");
+               panic("escinitialize: Clock frequency too high");
 
 /* Setup and save the basic configuration registers */
        dev->sc_config1 = (dev->sc_host_id & ESC_CFG1_BUS_ID_MASK);
@@ -330,7 +330,7 @@
  * select the unit during splbio. We then cycle through the generated
  * interrupts until the interrupt routine signals that the unit has
  * acknowledged the reset. After that we have to wait a reset to select
- * delay before anything else can happend.
+ * delay before anything else can happen.
  */
        if (pendp->xs->xs_control & XS_CTL_RESET) {
                struct nexus    *nexus;
@@ -774,7 +774,7 @@
        int              s;
 
 /*
- * This is realy simple. Raise interrupt level to splbio. Grab the nexus and
+ * This is really simple. Raise interrupt level to splbio. Grab the nexus and
  * leave.
  */
        nexus = &dev->sc_nexus[target];
@@ -859,8 +859,8 @@
        } else if (sync && !(nexus->flags & ESC_NF_SYNC_TESTED)) {
                /*
                 * If the scsi unit is not set to synch transfer and we want
-                * that, we have to negotiate. This should realy base the
-                * period on the clock frequence rather than just check if
+                * that, we have to negotiate. This should really base the
+                * period on the clock frequency rather than just check if
                 * >25 MHz
                 */
 
@@ -1248,7 +1248,7 @@
                        nexus->status = -1;
 
                /*
-                * Preload the command complete message. Handeled in
+                * Preload the command complete message. Handled in
                 * esc_postaction.
                 */
                dev->sc_msg_in[0] = msg;
@@ -1369,7 +1369,7 @@
        case ESC_PHASE_MESSAGE_OUT:
                /*
                 * Either the scsi unit wants us to send a message or we have
-                * asked for it by seting the ATN bit.
+                * asked for it by setting the ATN bit.
                 */
                nexus->state = ESC_NS_MSG_OUT;
 
@@ -1523,7 +1523,7 @@
                                        /*
                                         * Hmmm, it seems that the scsi unit
                                         * initiated sync negotiation, so lets
-                                        * reply acording to scsi-2 standard.
+                                        * reply according to scsi-2 standard.
                                         */
                                        if (!(nexus->flags& ESC_NF_SDTR_SENT))
                                        {
@@ -1550,7 +1550,7 @@
                                case 0x02: /* EXTENDED IDENTIFY (SCSI-1) */
                                case 0x03: /* WIDE DATA TRANSFER REQUEST */
                                default:
-                                       /* Reject any unhandeled messages. */
+                                       /* Reject any unhandled messages. */
 
                                        dev->sc_msg_out[0] = 0x07;
                                        dev->sc_msg_out_len = 1;
@@ -1561,7 +1561,7 @@
                                break;
 
                        default:
-                               /* Reject any unhandeled messages. */
+                               /* Reject any unhandled messages. */
 
                                dev->sc_msg_out[0] = 0x07;
                                dev->sc_msg_out_len = 1;
diff -r 18ff8b7e0154 -r f66505423ae7 sys/arch/acorn32/podulebus/escvar.h
--- a/sys/arch/acorn32/podulebus/escvar.h       Sat Aug 21 11:50:57 2021 +0000
+++ b/sys/arch/acorn32/podulebus/escvar.h       Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: escvar.h,v 1.9 2020/07/22 01:24:39 msaitoh Exp $ */
+/* $NetBSD: escvar.h,v 1.10 2021/08/21 11:55:24 andvar Exp $ */
 
 /*
  * Copyright (c) 1995 Daniel Widenfalk
@@ -129,7 +129,7 @@
 #define ESC_NS_DISCONNECTED    9       /* We are disconnected */
 #define ESC_NS_RESELECTED      10      /* We was reselected */
 #define ESC_NS_DONE            11      /* Done. Prephsase to FINISHED */
-#define ESC_NS_FINISHED                12      /* Realy done. Call scsi_done */
+#define ESC_NS_FINISHED                12      /* Really done. Call scsi_done */
 #define ESC_NS_RESET           13      /* We are resetting this unit */
 
 /* SCSI nexus flags */
diff -r 18ff8b7e0154 -r f66505423ae7 sys/arch/acorn32/podulebus/sfas.c
--- a/sys/arch/acorn32/podulebus/sfas.c Sat Aug 21 11:50:57 2021 +0000
+++ b/sys/arch/acorn32/podulebus/sfas.c Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sfas.c,v 1.29 2020/07/22 01:24:39 msaitoh Exp $        */
+/*     $NetBSD: sfas.c,v 1.30 2021/08/21 11:55:24 andvar Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.29 2020/07/22 01:24:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.30 2021/08/21 11:55:24 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -202,7 +202,7 @@
        if (dev->sc_clock_freq <= 40)
                dev->sc_clock_conv_fact = 2+((dev->sc_clock_freq-10)/5);
        else
-               panic("sfasinitialize: Clock frequence too high");
+               panic("sfasinitialize: Clock frequency too high");
 
 /* Setup and save the basic configuration registers */
        dev->sc_config1 = (dev->sc_host_id & SFAS_CFG1_BUS_ID_MASK);
@@ -326,7 +326,7 @@
  * select the unit during splbio. We then cycle through the generated
  * interrupts until the interrupt routine signals that the unit has
  * acknowledged the reset. After that we have to wait a reset to select
- * delay before anything else can happend.
+ * delay before anything else can happen.
  */
        if (pendp->xs->xs_control & XS_CTL_RESET) {
                struct nexus    *nexus;
@@ -695,7 +695,7 @@
        int              s;
 
 /*
- * This is realy simple. Raise interrupt level to splbio. Grab the nexus and
+ * This is really simple. Raise interrupt level to splbio. Grab the nexus and
  * leave.
  */
        nexus = &dev->sc_nexus[target];
@@ -780,8 +780,8 @@
        } else if (sync && !(nexus->flags & SFAS_NF_SYNC_TESTED)) {
                /*
                 * If the scsi unit is not set to synch transfer and we want
-                * that, we have to negotiate. This should realy base the
-                * period on the clock frequence rather than just check if
+                * that, we have to negotiate. This should really base the
+                * period on the clock frequency rather than just check if
                 * >25 MHz
                 */
 
@@ -1169,7 +1169,7 @@
                        nexus->status = -1;
 
                /*
-                * Preload the command complete message. Handeled in
+                * Preload the command complete message. Handled in
                 * sfas_postaction.
                 */
                dev->sc_msg_in[0] = msg;
@@ -1288,7 +1288,7 @@
        case SFAS_PHASE_MESSAGE_OUT:
                /*
                 * Either the scsi unit wants us to send a message or we have
-                * asked for it by seting the ATN bit.
+                * asked for it by setting the ATN bit.
                 */
                nexus->state = SFAS_NS_MSG_OUT;
 
@@ -1442,7 +1442,7 @@
                                        /*
                                         * Hmmm, it seems that the scsi unit
                                         * initiated sync negotiation, so lets
-                                        * reply acording to scsi-2 standard.
+                                        * reply according to scsi-2 standard.
                                         */
                                        if (!(nexus->flags& SFAS_NF_SDTR_SENT))
                                        {
@@ -1469,7 +1469,7 @@
                                case 0x02: /* EXTENDED IDENTIFY (SCSI-1) */
                                case 0x03: /* WIDE DATA TRANSFER REQUEST */
                                default:
-                                       /* Reject any unhandeled messages. */
+                                       /* Reject any unhandled messages. */
 
                                        dev->sc_msg_out[0] = 0x07;
                                        dev->sc_msg_out_len = 1;
@@ -1480,7 +1480,7 @@
                                break;
 
                        default:
-                               /* Reject any unhandeled messages. */
+                               /* Reject any unhandled messages. */
 
                                dev->sc_msg_out[0] = 0x07;
                                dev->sc_msg_out_len = 1;
diff -r 18ff8b7e0154 -r f66505423ae7 sys/arch/acorn32/podulebus/sfasvar.h
--- a/sys/arch/acorn32/podulebus/sfasvar.h      Sat Aug 21 11:50:57 2021 +0000
+++ b/sys/arch/acorn32/podulebus/sfasvar.h      Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfasvar.h,v 1.8 2020/07/22 01:24:39 msaitoh Exp $ */
+/* $NetBSD: sfasvar.h,v 1.9 2021/08/21 11:55:24 andvar Exp $ */
 
 /*
  * Copyright (c) 1995 Daniel Widenfalk
@@ -128,7 +128,7 @@
 #define SFAS_NS_DISCONNECTED   9       /* We are disconnected */
 #define SFAS_NS_RESELECTED     10      /* We was reselected */
 #define SFAS_NS_DONE           11      /* Done. Prephsase to FINISHED */
-#define SFAS_NS_FINISHED       12      /* Realy done. Call scsi_done */
+#define SFAS_NS_FINISHED       12      /* Really done. Call scsi_done */
 #define SFAS_NS_RESET          13      /* We are resetting this unit */
 
 /* SCSI nexus flags */
diff -r 18ff8b7e0154 -r f66505423ae7 sys/arch/atari/pci/pci_machdep.c
--- a/sys/arch/atari/pci/pci_machdep.c  Sat Aug 21 11:50:57 2021 +0000
+++ b/sys/arch/atari/pci/pci_machdep.c  Sat Aug 21 11:55:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.61 2021/08/07 16:18:46 thorpej Exp $ */
+/*     $NetBSD: pci_machdep.c,v 1.62 2021/08/21 11:55:24 andvar Exp $  */
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.61 2021/08/07 16:18:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.62 2021/08/21 11:55:24 andvar Exp $");
 
 #include "opt_mbtype.h"
 
@@ -75,7 +75,7 @@
                                            I/O addresses up to 0xffff) */
 
 /*
- * PCI memory and IO should be aligned acording to this masks
+ * PCI memory and IO should be aligned according to these masks
  */
 #define PCI_MACHDEP_IO_ALIGN_MASK      0xffffff00



Home | Main Index | Thread Index | Old Index