The branch main has been updated by jhb:

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

commit 618d1621c2d42ba8b0e17c8ba0859c80e1b54367
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2025-01-14 17:36:55 +0000
Commit:     John Baldwin <j...@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);
        }

Reply via email to