From abe10d21b4edf23ddc52f85a95ecd4cb62e5f1be Mon Sep 17 00:00:00 2001 From: Andrius V Date: Thu, 3 Aug 2023 12:14:19 +0200 Subject: [PATCH] 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);