]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
util: Add string constant for ENVME_CONNECT_IGNORED
authorTomas Bzatek <tbzatek@redhat.com>
Thu, 25 Apr 2024 15:09:44 +0000 (17:09 +0200)
committerDaniel Wagner <wagi@monom.org>
Tue, 30 Apr 2024 08:37:17 +0000 (10:37 +0200)
for use through nvme_errno_to_string().

Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
src/nvme/util.c

index f0f798d0e61f1245d3775d780f63ef51714e9fd6..7404509e2db989a1ce11527dc42049b5736042a7 100644 (file)
@@ -620,6 +620,7 @@ static const char * const libnvme_status[] = {
        [ENVME_CONNECT_OPNOTSUPP] = "not supported",
        [ENVME_CONNECT_CONNREFUSED] = "connection refused",
        [ENVME_CONNECT_ADDRNOTAVAIL] = "cannot assign requested address",
+       [ENVME_CONNECT_IGNORED] = "connection ignored",
 };
 
 const char *nvme_errno_to_string(int status)