Module Name:    src
Committed By:   andvar
Date:           Sat Sep 11 21:30:46 UTC 2021

Modified Files:
        src/lib/libperfuse: ops.c
        src/share/mk: bsd.sys.mk
        src/sys/arch/alpha/pci: cia_pci.c
        src/sys/dev/marvell: mvxpbmvar.h
        src/usr.sbin/sysinst: partitions.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/lib/libperfuse/ops.c
cvs rdiff -u -r1.306 -r1.307 src/share/mk/bsd.sys.mk
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/alpha/pci/cia_pci.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/marvell/mvxpbmvar.h
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/partitions.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libperfuse/ops.c
diff -u src/lib/libperfuse/ops.c:1.88 src/lib/libperfuse/ops.c:1.89
--- src/lib/libperfuse/ops.c:1.88	Mon Sep 23 12:00:57 2019
+++ src/lib/libperfuse/ops.c	Sat Sep 11 21:30:46 2021
@@ -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 @@ fuse_to_dirent(struct puffs_usermount *p
 		 * 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

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.306 src/share/mk/bsd.sys.mk:1.307
--- src/share/mk/bsd.sys.mk:1.306	Mon Apr 26 00:38:23 2021
+++ src/share/mk/bsd.sys.mk	Sat Sep 11 21:30:46 2021
@@ -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 @@ CPPFLAGS+=	-D_FORTIFY_SOURCE=2
 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)

Index: src/sys/arch/alpha/pci/cia_pci.c
diff -u src/sys/arch/alpha/pci/cia_pci.c:1.35 src/sys/arch/alpha/pci/cia_pci.c:1.36
--- src/sys/arch/alpha/pci/cia_pci.c:1.35	Fri Jun 25 03:45:59 2021
+++ src/sys/arch/alpha/pci/cia_pci.c	Sat Sep 11 21:30:46 2021
@@ -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 @@ cia_conf_read(void *cpv, pcitag_t tag, i
 	/*
 	 * 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

Index: src/sys/dev/marvell/mvxpbmvar.h
diff -u src/sys/dev/marvell/mvxpbmvar.h:1.2 src/sys/dev/marvell/mvxpbmvar.h:1.3
--- src/sys/dev/marvell/mvxpbmvar.h:1.2	Mon Aug  2 12:56:24 2021
+++ src/sys/dev/marvell/mvxpbmvar.h	Sat Sep 11 21:30:46 2021
@@ -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 */

Index: src/usr.sbin/sysinst/partitions.h
diff -u src/usr.sbin/sysinst/partitions.h:1.23 src/usr.sbin/sysinst/partitions.h:1.24
--- src/usr.sbin/sysinst/partitions.h:1.23	Sat Sep 11 20:28:06 2021
+++ src/usr.sbin/sysinst/partitions.h	Sat Sep 11 21:30:46 2021
@@ -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 @@ struct disk_part_custom_attribute {
 };
 
 /*
- * 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 @@ struct disk_part_edit_column_desc {
 	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 @@ struct disk_partitioning_scheme {
 	 * 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 @@ struct disk_partitioning_scheme {
 	 * 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 @@ bool generic_adapt_foreign_part_info(
     const struct disk_part_info *src);
 
 /*
- * One time initialization and clenaup
+ * One time initialization and cleanup
  */
 void partitions_init(void);
 void partitions_cleanup(void);

Reply via email to