Source-Changes-HG archive

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

[src/trunk]: src fix various typos, mainly s/prefered/preferred/



details:   https://anonhg.NetBSD.org/src/rev/9a4f3711d521
branches:  trunk
changeset: 1025161:9a4f3711d521
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Nov 07 20:31:09 2021 +0000

description:
fix various typos, mainly s/prefered/preferred/

diffstat:

 games/quiz/rxp.c                     |   6 +++---
 lib/libc/compat/net/compat_ns_addr.c |  12 ++++++------
 lib/libresolv/dst_internal.h         |   4 ++--
 lib/librpcsvc/nfs_prot.x             |   6 +++---
 sys/dev/dm/doc/design.txt            |   2 +-
 sys/netinet/dccp_var.h               |   4 ++--
 tests/usr.bin/sed/t_sed.sh           |   4 ++--
 usr.sbin/sysinst/partitions.h        |   6 +++---
 8 files changed, 22 insertions(+), 22 deletions(-)

diffs (188 lines):

diff -r 5188161f7512 -r 9a4f3711d521 games/quiz/rxp.c
--- a/games/quiz/rxp.c  Sun Nov 07 20:16:50 2021 +0000
+++ b/games/quiz/rxp.c  Sun Nov 07 20:31:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rxp.c,v 1.13 2009/08/27 00:31:12 dholland Exp $        */
+/*     $NetBSD: rxp.c,v 1.14 2021/11/07 20:31:09 andvar Exp $  */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)rxp.c      8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: rxp.c,v 1.13 2009/08/27 00:31:12 dholland Exp $");
+__RCSID("$NetBSD: rxp.c,v 1.14 2021/11/07 20:31:09 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -50,7 +50,7 @@
  *     TRUE    success
  *     FALSE   parse failure; error message will be in char rxperr[]
  * metas are:
- *     {...}   optional pattern, equialent to [...|]
+ *     {...}   optional pattern, equivalent to [...|]
  *     |       alternate pattern
  *     [...]   pattern delimiters
  *
diff -r 5188161f7512 -r 9a4f3711d521 lib/libc/compat/net/compat_ns_addr.c
--- a/lib/libc/compat/net/compat_ns_addr.c      Sun Nov 07 20:16:50 2021 +0000
+++ b/lib/libc/compat/net/compat_ns_addr.c      Sun Nov 07 20:31:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_ns_addr.c,v 1.3 2012/10/15 22:22:01 msaitoh Exp $       */
+/*     $NetBSD: compat_ns_addr.c,v 1.4 2021/11/07 20:31:09 andvar Exp $        */
 
 /*
  * Copyright (c) 1986, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)ns_addr.c  8.1 (Berkeley) 6/7/93";
 #else
-__RCSID("$NetBSD: compat_ns_addr.c,v 1.3 2012/10/15 22:22:01 msaitoh Exp $");
+__RCSID("$NetBSD: compat_ns_addr.c,v 1.4 2021/11/07 20:31:09 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -65,10 +65,10 @@
        (void)strlcpy(buf, name, sizeof(buf));
 
        /*
-        * First, figure out what he intends as a field separtor.
-        * Despite the way this routine is written, the prefered
+        * First, figure out what he intends as a field separator.
+        * Despite the way this routine is written, the preferred
         * form  2-272.AA001234H.01777, i.e. XDE standard.
-        * Great efforts are made to insure backward compatibility.
+        * Great efforts are made to ensure backward compatibility.
         */
        if ((hostname = strchr(buf, '#')) != NULL)
                separator = '#';
@@ -138,7 +138,7 @@
        }
        /*
         * This is REALLY stretching it but there was a
-        * comma notation separting shorts -- definitely non standard
+        * comma notation separating shorts -- definitely non standard
         */
        if (1 < (i = sscanf(buf,"%x,%x,%x",
                        &hb[0], &hb[1], &hb[2]))) {
diff -r 5188161f7512 -r 9a4f3711d521 lib/libresolv/dst_internal.h
--- a/lib/libresolv/dst_internal.h      Sun Nov 07 20:16:50 2021 +0000
+++ b/lib/libresolv/dst_internal.h      Sun Nov 07 20:31:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dst_internal.h,v 1.2 2012/11/16 02:11:05 joerg Exp $   */
+/*     $NetBSD: dst_internal.h,v 1.3 2021/11/07 20:31:09 andvar Exp $  */
 
 #ifndef DST_INTERNAL_H
 #define DST_INTERNAL_H
@@ -50,7 +50,7 @@
 #include <isc/dst.h>
 /* 
  * define what crypto systems are supported for RSA, 
- * BSAFE is prefered over RSAREF; only one can be set at any time
+ * BSAFE is preferred over RSAREF; only one can be set at any time
  */
 #if defined(BSAFE) && defined(RSAREF)
 # error "Cannot have both BSAFE and RSAREF defined"
diff -r 5188161f7512 -r 9a4f3711d521 lib/librpcsvc/nfs_prot.x
--- a/lib/librpcsvc/nfs_prot.x  Sun Nov 07 20:16:50 2021 +0000
+++ b/lib/librpcsvc/nfs_prot.x  Sun Nov 07 20:31:09 2021 +0000
@@ -32,7 +32,7 @@
 %#ifndef __lint__
 %/*static char sccsid[] = "from: @(#)nfs_prot.x 1.2 87/10/12 Copyr 1987 Sun Micro";*/
 %/*static char sccsid[] = "from: @(#)nfs_prot.x        2.1 88/08/01 4.0 RPCSRC";*/
-%__RCSID("$NetBSD: nfs_prot.x,v 1.7 2004/07/01 22:52:34 kleink Exp $");
+%__RCSID("$NetBSD: nfs_prot.x,v 1.8 2021/11/07 20:31:09 andvar Exp $");
 %#endif /* not __lint__ */
 #endif
 
@@ -121,7 +121,7 @@
        unsigned uid;           /* owner user id */
        unsigned gid;           /* owner group id */
        unsigned size;          /* file size in bytes */
-       unsigned blocksize;     /* prefered block size */
+       unsigned blocksize;     /* preferred block size */
        unsigned rdev;          /* special device # */
        unsigned blocks;        /* Kb of disk used by file */
        unsigned fsid;          /* device # */
@@ -396,7 +396,7 @@
        uid3    uid;            /* owner user id */
        gid3    gid;            /* owner group id */
        size3   size;           /* file size in bytes */
-       size3   used;           /* prefered block size */
+       size3   used;           /* preferred block size */
        specdata3 rdev;         /* special device # */
        u_int64_t fsid;         /* device # */
        fileid3 fileid;         /* inode # */
diff -r 5188161f7512 -r 9a4f3711d521 sys/dev/dm/doc/design.txt
--- a/sys/dev/dm/doc/design.txt Sun Nov 07 20:16:50 2021 +0000
+++ b/sys/dev/dm/doc/design.txt Sun Nov 07 20:31:09 2021 +0000
@@ -88,7 +88,7 @@
      out: none
 
      Function:
-       Create device in dm driver, with specified name/uuid(uuid is prefered). 
+       Create device in dm driver, with specified name/uuid(uuid is preferred). 
        (linux use struct dm_name_list)
        
  5) DM_DEV_REMOVE
diff -r 5188161f7512 -r 9a4f3711d521 sys/netinet/dccp_var.h
--- a/sys/netinet/dccp_var.h    Sun Nov 07 20:16:50 2021 +0000
+++ b/sys/netinet/dccp_var.h    Sun Nov 07 20:31:09 2021 +0000
@@ -1,5 +1,5 @@
 /*     $KAME: dccp_var.h,v 1.29 2005/11/03 14:59:28 nishida Exp $      */
-/*     $NetBSD: dccp_var.h,v 1.5 2018/09/14 05:09:51 maxv Exp $ */
+/*     $NetBSD: dccp_var.h,v 1.6 2021/11/07 20:31:09 andvar Exp $ */
 
 /*
  * Copyright (c) 2003 Joacim Häggmark, Magnus Erixzon, Nils-Erik Mattsson 
@@ -88,7 +88,7 @@
        u_int8_t        ndp_rcv;        /* ndp value of received packet */
 
        u_int8_t        cslen;          /* How much of outgoing packets are covered by the checksum */
-       u_int8_t        pref_cc;        /* Client prefered CC */
+       u_int8_t        pref_cc;        /* Client preferred CC */
        u_int8_t        ndp;            /* Number of non data packets */
        u_int32_t       loss_window;    /* Loss window (defaults to 1000)  */
        u_int16_t       ack_ratio;      /* Ack Ratio Feature */
diff -r 5188161f7512 -r 9a4f3711d521 tests/usr.bin/sed/t_sed.sh
--- a/tests/usr.bin/sed/t_sed.sh        Sun Nov 07 20:16:50 2021 +0000
+++ b/tests/usr.bin/sed/t_sed.sh        Sun Nov 07 20:31:09 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_sed.sh,v 1.8 2021/02/23 21:09:14 christos Exp $
+# $NetBSD: t_sed.sh,v 1.9 2021/11/07 20:31:09 andvar Exp $
 #
 # Copyright (c) 2012 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -133,7 +133,7 @@
 atf_test_case escapes_in_subst
 escapes_in_subst_head() {
        atf_set "descr" "Test that sed(1) expands \x \d \o escapes " \
-               "in substition strings"
+               "in substitution strings"
 }
 
 escapes_in_subst_body() {
diff -r 5188161f7512 -r 9a4f3711d521 usr.sbin/sysinst/partitions.h
--- a/usr.sbin/sysinst/partitions.h     Sun Nov 07 20:16:50 2021 +0000
+++ b/usr.sbin/sysinst/partitions.h     Sun Nov 07 20:31:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: partitions.h,v 1.24 2021/09/11 21:30:46 andvar Exp $   */
+/*     $NetBSD: partitions.h,v 1.25 2021/11/07 20:31:09 andvar Exp $   */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -240,11 +240,11 @@
        size_t (*get_part_types_count)(void);
        const struct part_type_desc * (*get_part_type)(size_t ndx);
        /*
-        * Get the prefered native representation for a generic partition type
+        * Get the preferred native representation for a generic partition type
         */
        const struct part_type_desc * (*get_generic_part_type)(enum part_type);
        /*
-        * Get the prefered native partition type for a specific file system
+        * Get the preferred native partition type for a specific file system
         * type (FS_*) and subtype (fs specific value)
         */
        const struct part_type_desc * (*get_fs_part_type)(



Home | Main Index | Thread Index | Old Index