From db383f47390b44bb88f59944d09603603ccd20a2 Mon Sep 17 00:00:00 2001 From: andvar Date: Sun, 8 Aug 2021 21:50:10 +0000 Subject: [PATCH] s/partion/partition/ s/arrray/array/ in comments. --- sys/stand/efiboot/version | 4 ++-- usr.sbin/sysinst/disklabel.c | 8 ++++---- usr.sbin/sysinst/disks.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/stand/efiboot/version b/sys/stand/efiboot/version index f1a7ed565e49..cd6bc0c300dd 100644 --- a/sys/stand/efiboot/version +++ b/sys/stand/efiboot/version @@ -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. diff --git a/usr.sbin/sysinst/disklabel.c b/usr.sbin/sysinst/disklabel.c index 305e2a46b3e5..e6a914389513 100644 --- a/usr.sbin/sysinst/disklabel.c +++ b/usr.sbin/sysinst/disklabel.c @@ -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; diff --git a/usr.sbin/sysinst/disks.c b/usr.sbin/sysinst/disks.c index 1bfd6b23a77f..5551c9224ec4 100644 --- a/usr.sbin/sysinst/disks.c +++ b/usr.sbin/sysinst/disks.c @@ -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;