git: 670d2ad820c7 - main - efi loader: fix typos in a comment

Eric van Gyzen vangyzen at FreeBSD.org
Fri Jan 1 17:38:48 UTC 2021


The branch main has been updated by vangyzen:

URL: https://cgit.FreeBSD.org/src/commit/?id=670d2ad820c7584e6592d2a6d748dda0758d2ec5

commit 670d2ad820c7584e6592d2a6d748dda0758d2ec5
Author:     Eric van Gyzen <vangyzen at FreeBSD.org>
AuthorDate: 2021-01-01 17:38:39 +0000
Commit:     Eric van Gyzen <vangyzen at FreeBSD.org>
CommitDate: 2021-01-01 17:38:39 +0000

    efi loader: fix typos in a comment
    
    ...mostly because it's a harmless way to try the shiny new git repo.
    
    Sponsored by:   Dell EMC Isilon
---
 stand/efi/loader/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index ad81b784cb66..aad285f59092 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -356,9 +356,9 @@ match_boot_info(char *boot_info, size_t bisz)
 	CHAR16 *text;
 
 	/*
-	 * FreeBSD encodes it's boot loading path into the boot loader
+	 * FreeBSD encodes its boot loading path into the boot loader
 	 * BootXXXX variable. We look for the last one in the path
-	 * and use that to load the kernel. However, if we only fine
+	 * and use that to load the kernel. However, if we only find
 	 * one DEVICE_PATH, then there's nothing specific and we should
 	 * fall back.
 	 *
@@ -369,8 +369,8 @@ match_boot_info(char *boot_info, size_t bisz)
 	 * boot loader to get to the next boot loader. However, that
 	 * doesn't work. We rarely have the path to the image booted
 	 * (just the device) so we can't count on that. So, we do the
-	 * enxt best thing, we look through the device path(s) passed
-	 * in the BootXXXX varaible. If there's only one, we return
+	 * next best thing: we look through the device path(s) passed
+	 * in the BootXXXX variable. If there's only one, we return
 	 * NOT_SPECIFIC. Otherwise, we look at the last one and try to
 	 * load that. If we can, we return BOOT_INFO_OK. Otherwise we
 	 * return BAD_CHOICE for the caller to sort out.


More information about the dev-commits-src-all mailing list