Module Name: src
Committed By: andvar
Date: Sun Aug 8 21:50:10 UTC 2021
Modified Files:
src/sys/stand/efiboot: version
src/usr.sbin/sysinst: disklabel.c disks.c
Log Message:
s/partion/partition/ s/arrray/array/ in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/stand/efiboot/version
cvs rdiff -u -r1.43 -r1.44 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.73 -r1.74 src/usr.sbin/sysinst/disks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/stand/efiboot/version
diff -u src/sys/stand/efiboot/version:1.27 src/sys/stand/efiboot/version:1.28
--- src/sys/stand/efiboot/version:1.27 Mon Jun 21 11:11:33 2021
+++ src/sys/stand/efiboot/version Sun Aug 8 21:50:10 2021
@@ -1,4 +1,4 @@
-$NetBSD: version,v 1.27 2021/06/21 11:11:33 jmcneill Exp $
+$NetBSD: version,v 1.28 2021/08/08 21:50:10 andvar Exp $
NOTE ANY CHANGES YOU MAKE TO THE EFI BOOTLOADER HERE. The format of this
file is important - make sure the entries are appended on end, last item
@@ -25,7 +25,7 @@ is taken as the current.
2.2: Remove support for storing settings in EFI env vars.
2.3: EFI RT and GOP support for devicetree mode.
2.4: Add ISO9660 support.
-2.5: Recognize the EFI system partion as fstype MSDOS.
+2.5: Recognize the EFI system partition as fstype MSDOS.
2.6: Disable ACPI support when booting big endian kernels.
2.7: Add basic support for booting from RAID1 volumes.
2.8: Add bi-endian disklabel and FFS support.
Index: src/usr.sbin/sysinst/disklabel.c
diff -u src/usr.sbin/sysinst/disklabel.c:1.43 src/usr.sbin/sysinst/disklabel.c:1.44
--- src/usr.sbin/sysinst/disklabel.c:1.43 Sun Jan 31 22:45:46 2021
+++ src/usr.sbin/sysinst/disklabel.c Sun Aug 8 21:50:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.c,v 1.43 2021/01/31 22:45:46 rillig Exp $ */
+/* $NetBSD: disklabel.c,v 1.44 2021/08/08 21:50:10 andvar Exp $ */
/*
* Copyright 2018 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@ struct disklabel_disk_partitions {
*/
size_t dl_maxpart;
-/* index into this arrray is the type code */
+/* index into this array is the type code */
static struct part_type_desc dl_types[__arraycount(fstypenames)-1];
struct dl_custom_ptype {
@@ -241,7 +241,7 @@ disklabel_parts_read(const char *disk, d
if (dlstart < start || dlend > (start+len)) {
/*
- * Kernel assumes different outer partion
+ * Kernel assumes different outer partition
* (probably not yet written back to disk)
* so this label is invalid.
*/
@@ -332,7 +332,7 @@ disklabel_parts_read(const char *disk, d
break;
}
if (!found_real_part) {
- /* no partion there yet */
+ /* no partition there yet */
no_valid_label:
free(parts);
return NULL;
Index: src/usr.sbin/sysinst/disks.c
diff -u src/usr.sbin/sysinst/disks.c:1.73 src/usr.sbin/sysinst/disks.c:1.74
--- src/usr.sbin/sysinst/disks.c:1.73 Wed Jul 14 18:56:05 2021
+++ src/usr.sbin/sysinst/disks.c Sun Aug 8 21:50:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: disks.c,v 1.73 2021/07/14 18:56:05 martin Exp $ */
+/* $NetBSD: disks.c,v 1.74 2021/08/08 21:50:10 andvar Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -2522,7 +2522,7 @@ free_selected_partitions(struct selected
/* remove from list before testing for other instances */
selected->selection[i].parts = NULL;
- /* if this is the secondary partion set, the parent owns it */
+ /* if this is the secondary partition set, the parent owns it */
if (parts->parent != NULL)
continue;