Source-Changes-HG archive

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

[src/trunk]: src sysinst/partitions.h: fix typos comments, also fix same typo...



details:   https://anonhg.NetBSD.org/src/rev/7dca6312b0c9
branches:  trunk
changeset: 985876:7dca6312b0c9
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Sep 11 21:30:46 2021 +0000

description:
sysinst/partitions.h: fix typos comments, also fix same typos in other files.

diffstat:

 lib/libperfuse/ops.c          |   4 ++--
 share/mk/bsd.sys.mk           |   4 ++--
 sys/arch/alpha/pci/cia_pci.c  |   6 +++---
 sys/dev/marvell/mvxpbmvar.h   |   4 ++--
 usr.sbin/sysinst/partitions.h |  14 +++++++-------
 5 files changed, 16 insertions(+), 16 deletions(-)

diffs (144 lines):

diff -r f549f1eb3750 -r 7dca6312b0c9 lib/libperfuse/ops.c
--- a/lib/libperfuse/ops.c      Sat Sep 11 20:55:03 2021 +0000
+++ b/lib/libperfuse/ops.c      Sat Sep 11 21:30:46 2021 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: ops.c,v 1.88 2019/09/23 12:00:57 christos Exp $ */
+/*  $NetBSD: ops.c,v 1.89 2021/09/11 21:30:46 andvar Exp $ */
 
 /*-
  *  Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved.
@@ -697,7 +697,7 @@
                 * fd->off is not the offset, it is an opaque cookie
                 * given by the filesystem to keep state across multiple
                 * readdir() operation.
-                * Use record alignement instead.
+                * Use record alignment instead.
                 */
                len = FUSE_DIRENT_ALIGN(sizeof(*fd) + fd->namelen);
 #ifdef PERFUSE_DEBUG
diff -r f549f1eb3750 -r 7dca6312b0c9 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sat Sep 11 20:55:03 2021 +0000
+++ b/share/mk/bsd.sys.mk       Sat Sep 11 21:30:46 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.306 2021/04/26 00:38:23 christos Exp $
+#      $NetBSD: bsd.sys.mk,v 1.307 2021/09/11 21:30:46 andvar Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -172,7 +172,7 @@
 COPTS+=        -fstack-protector -Wstack-protector 
 
 # GCC 4.8 on m68k erroneously does not protect functions with
-# variables needing special alignement, see
+# variables needing special alignment, see
 #      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59674
 # (the underlying issue for sh and vax may be different, needs more
 # investigation, symptoms are similar but for different sources)
diff -r f549f1eb3750 -r 7dca6312b0c9 sys/arch/alpha/pci/cia_pci.c
--- a/sys/arch/alpha/pci/cia_pci.c      Sat Sep 11 20:55:03 2021 +0000
+++ b/sys/arch/alpha/pci/cia_pci.c      Sat Sep 11 21:30:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cia_pci.c,v 1.35 2021/06/25 03:45:59 thorpej Exp $ */
+/* $NetBSD: cia_pci.c,v 1.36 2021/09/11 21:30:46 andvar Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: cia_pci.c,v 1.35 2021/06/25 03:45:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cia_pci.c,v 1.36 2021/09/11 21:30:46 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -72,7 +72,7 @@
        /*
         * Some (apparently-common) revisions of EB164 and AlphaStation
         * firmware do the Wrong thing with PCI master and target aborts,
-        * which are caused by accesing the configuration space of devices
+        * which are caused by accessing the configuration space of devices
         * that don't exist (for example).
         *
         * To work around this, we clear the CIA error register's PCI
diff -r f549f1eb3750 -r 7dca6312b0c9 sys/dev/marvell/mvxpbmvar.h
--- a/sys/dev/marvell/mvxpbmvar.h       Sat Sep 11 20:55:03 2021 +0000
+++ b/sys/dev/marvell/mvxpbmvar.h       Sat Sep 11 21:30:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvxpbmvar.h,v 1.2 2021/08/02 12:56:24 andvar Exp $     */
+/*     $NetBSD: mvxpbmvar.h,v 1.3 2021/09/11 21:30:46 andvar Exp $     */
 /*
  * Copyright (c) 2015 Internet Initiative Japan Inc.
  * All rights reserved.
@@ -34,7 +34,7 @@
 #define MVXPBM_UNIT_MAX                1
 
 /*
- * Buffer alignement
+ * Buffer alignment
  */
 #define MVXPBM_NUM_SLOTS       2048    /* minimum number of slots */
 #define MVXPBM_PACKET_SIZE     2000    /* minimum packet size */
diff -r f549f1eb3750 -r 7dca6312b0c9 usr.sbin/sysinst/partitions.h
--- a/usr.sbin/sysinst/partitions.h     Sat Sep 11 20:55:03 2021 +0000
+++ b/usr.sbin/sysinst/partitions.h     Sat Sep 11 21:30:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: partitions.h,v 1.23 2021/09/11 20:28:06 andvar Exp $   */
+/*     $NetBSD: partitions.h,v 1.24 2021/09/11 21:30:46 andvar Exp $   */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  * details.
  *
  * NOTE:
- *  - all sector numbers, alignement and sizes are in units of the
+ *  - all sector numbers, alignment and sizes are in units of the
  *    disks physical sector size (not necessarily 512 bytes)!
  *  - some interfaces pass the disks sector size (when it is easily
  *    available at typical callers), but the backends can always
@@ -166,7 +166,7 @@
 };
 
 /*
- * When displaying a partition editor, we have standard colums, but
+ * When displaying a partition editor, we have standard columns, but
  * partitioning schemes add custom columns to the table as well.
  * There is a fixed number of columns and they are described by this
  * structure:
@@ -176,7 +176,7 @@
        unsigned int width;
 };
 
-struct disk_partitions;        /* in-memory represenation of a set of partitions */
+struct disk_partitions;        /* in-memory representation of a set of partitions */
 
 /*
  * When querying partition "device" names, we may ask for:
@@ -214,7 +214,7 @@
         * scheme. Depending on partitioning details it may not be
         * used in the end.
         * This link is only here for better help messages.
-        * See *secondary_partitions further below for actually accesing
+        * See *secondary_partitions further below for actually accessing
         * secondary partitions.
         */
        const struct disk_partitioning_scheme *secondary_scheme;
@@ -434,7 +434,7 @@
         * function pointer to NULL.
         *
         * If force_empty = true, ignore all on-disk contents and just
-        * create a new disk_partitons structure for the secondary scheme
+        * create a new disk_partitions structure for the secondary scheme
         * (this is used after deleting all partitions and setting up
         * things for "use whole disk").
         *
@@ -627,7 +627,7 @@
     const struct disk_part_info *src);
 
 /*
- * One time initialization and clenaup
+ * One time initialization and cleanup
  */
 void partitions_init(void);
 void partitions_cleanup(void);



Home | Main Index | Thread Index | Old Index