git: abe10d21b4ed - main - nvmecontrol: fix typos

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Thu, 03 Aug 2023 11:14:02 UTC
The branch main has been updated by kp:

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

commit abe10d21b4edf23ddc52f85a95ecd4cb62e5f1be
Author:     Andrius V <vezhlys@gmail.com>
AuthorDate: 2023-08-03 10:14:19 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-08-03 10:14:19 +0000

    nvmecontrol: fix typos
    
    PR:             261911
    Reviewed by:    kp
---
 sbin/nvmecontrol/logpage.c         | 2 +-
 sbin/nvmecontrol/modules/wdc/wdc.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbin/nvmecontrol/logpage.c b/sbin/nvmecontrol/logpage.c
index f5c7af8c535c..ae5bcc3a5aa6 100644
--- a/sbin/nvmecontrol/logpage.c
+++ b/sbin/nvmecontrol/logpage.c
@@ -811,7 +811,7 @@ logpage(const struct cmd *f, int argc, char *argv[])
 		NVME_CTRLR_DATA_LPA_NS_SMART_MASK;
 
 	/*
-	 * The log page attribtues indicate whether or not the controller
+	 * The log page attributes indicate whether or not the controller
 	 * supports the SMART/Health information log page on a per
 	 * namespace basis.
 	 */
diff --git a/sbin/nvmecontrol/modules/wdc/wdc.c b/sbin/nvmecontrol/modules/wdc/wdc.c
index 1cae15a1e54c..8936a74bab9a 100644
--- a/sbin/nvmecontrol/modules/wdc/wdc.c
+++ b/sbin/nvmecontrol/modules/wdc/wdc.c
@@ -591,7 +591,7 @@ print_hgst_info_background_scan(void *buf, uint16_t subtype __unused, uint8_t re
 		return;
 	}
 	if (code != 0) {
-		printf("Expceted code 0, found code %#x\n", code);
+		printf("Expected code 0, found code %#x\n", code);
 		return;
 	}
 	pom = le32dec(walker);