Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2025 17:39:00 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 618d1621c2d4 - main - nvmecontrol: Fix error message for invalid Fabrics I/O queue size
Message-ID:  <202501141739.50EHd0a7036157@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit 618d1621c2d42ba8b0e17c8ba0859c80e1b54367
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-01-14 17:36:55 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-01-14 17:38:47 +0000

    nvmecontrol: Fix error message for invalid Fabrics I/O queue size
    
    Sponsored by:   Chelsio Communications
---
 sbin/nvmecontrol/fabrics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/nvmecontrol/fabrics.c b/sbin/nvmecontrol/fabrics.c
index de069e3df62a..27ecc8fb6cdc 100644
--- a/sbin/nvmecontrol/fabrics.c
+++ b/sbin/nvmecontrol/fabrics.c
@@ -457,7 +457,7 @@ connect_nvm_queues(const struct nvmf_association_params *aparams,
 	else if (queue_size > (u_int)mqes + 1) {
 		shutdown_controller(*admin);
 		nvmf_free_association(na);
-		warn("I/O queue size exceeds controller maximum (%u)",
+		warnx("I/O queue size exceeds controller maximum (%u)",
 		    mqes + 1);
 		return (EX_USAGE);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501141739.50EHd0a7036157>