Skip to content

Commit 618d162

Browse files
committed
nvmecontrol: Fix error message for invalid Fabrics I/O queue size
Sponsored by: Chelsio Communications
1 parent 660331d commit 618d162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbin/nvmecontrol/fabrics.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ connect_nvm_queues(const struct nvmf_association_params *aparams,
457457
else if (queue_size > (u_int)mqes + 1) {
458458
shutdown_controller(*admin);
459459
nvmf_free_association(na);
460-
warn("I/O queue size exceeds controller maximum (%u)",
460+
warnx("I/O queue size exceeds controller maximum (%u)",
461461
mqes + 1);
462462
return (EX_USAGE);
463463
}

0 commit comments

Comments
 (0)