git: f5541f9f4734 - main - nvmfd/nvmft: Fix a typo "whiled" -> "while"

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 03 Sep 2024 20:12:46 UTC
The branch main has been updated by jhb:

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

commit f5541f9f473430a3e608e07f623294322853d25a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-09-03 20:12:04 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-09-03 20:12:04 +0000

    nvmfd/nvmft: Fix a typo "whiled" -> "while"
    
    Sponsored by:   Chelsio Communications
---
 sys/dev/nvmf/controller/nvmft_controller.c | 2 +-
 usr.sbin/nvmfd/controller.c                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/nvmf/controller/nvmft_controller.c b/sys/dev/nvmf/controller/nvmft_controller.c
index dee4d8c92d3d..3c10fea75c9d 100644
--- a/sys/dev/nvmf/controller/nvmft_controller.c
+++ b/sys/dev/nvmf/controller/nvmft_controller.c
@@ -954,7 +954,7 @@ nvmft_handle_admin_command(struct nvmft_controller *ctrlr,
 	if (NVMEV(NVME_CC_REG_EN, ctrlr->cc) == 0 &&
 	    cmd->opc != NVME_OPC_FABRICS_COMMANDS) {
 		nvmft_printf(ctrlr,
-		    "Unsupported admin opcode %#x whiled disabled\n", cmd->opc);
+		    "Unsupported admin opcode %#x while disabled\n", cmd->opc);
 		nvmft_send_generic_error(ctrlr->admin, nc,
 		    NVME_SC_COMMAND_SEQUENCE_ERROR);
 		nvmf_free_capsule(nc);
diff --git a/usr.sbin/nvmfd/controller.c b/usr.sbin/nvmfd/controller.c
index 09baaea74ab4..e9435bce69da 100644
--- a/usr.sbin/nvmfd/controller.c
+++ b/usr.sbin/nvmfd/controller.c
@@ -192,7 +192,7 @@ controller_handle_admin_commands(struct controller *c, handle_command *cb,
 		 */
 		if (NVMEV(NVME_CC_REG_EN, c->cc) == 0 &&
 		    cmd->opc != NVME_OPC_FABRICS_COMMANDS) {
-			warnx("Unsupported admin opcode %#x whiled disabled\n",
+			warnx("Unsupported admin opcode %#x while disabled\n",
 			    cmd->opc);
 			nvmf_send_generic_error(nc,
 			    NVME_SC_COMMAND_SEQUENCE_ERROR);