git: 225c5e535b36 - main - nvmft: Fix typo in error message if an I/O queue fails to handoff

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 28 Dec 2024 19:54:46 UTC
The branch main has been updated by jhb:

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

commit 225c5e535b36ab506f25761fabc7dbe466609541
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-12-28 19:30:16 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-12-28 19:54:29 +0000

    nvmft: Fix typo in error message if an I/O queue fails to handoff
    
    Sponsored by:   Chelsio Communications
---
 sys/dev/nvmf/controller/ctl_frontend_nvmf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/nvmf/controller/ctl_frontend_nvmf.c b/sys/dev/nvmf/controller/ctl_frontend_nvmf.c
index 3d09ee901886..8a4538e5056a 100644
--- a/sys/dev/nvmf/controller/ctl_frontend_nvmf.c
+++ b/sys/dev/nvmf/controller/ctl_frontend_nvmf.c
@@ -989,7 +989,7 @@ nvmft_handoff(struct ctl_nvmf *cn)
 		if (error != 0) {
 			cn->status = CTL_NVMF_ERROR;
 			snprintf(cn->error_str, sizeof(cn->error_str),
-			    "Failed to handoff admin queue: %d", error);
+			    "Failed to handoff I/O queue: %d", error);
 			goto out;
 		}
 	}