s/partion/partition/ s/arrray/array/ in comments.

This commit is contained in:
andvar 2021-08-08 21:50:10 +00:00
parent 2d60d84a8c
commit db383f4739
3 changed files with 8 additions and 8 deletions

View File

@ -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.

View File

@ -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, daddr_t start, daddr_t len, size_t bps,
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, daddr_t start, daddr_t len, size_t bps,
break;
}
if (!found_real_part) {
/* no partion there yet */
/* no partition there yet */
no_valid_label:
free(parts);
return NULL;

View File

@ -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_partitions *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;