]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
netapp-smdev: update err msg for no smdevices
authorMartin George <marting@netapp.com>
Wed, 26 Feb 2025 11:41:24 +0000 (17:11 +0530)
committerDaniel Wagner <wagi@monom.org>
Wed, 26 Feb 2025 14:16:54 +0000 (15:16 +0100)
Update the error message when no smdevices are detected on
the host.

Signed-off-by: Martin George <marting@netapp.com>
plugins/netapp/netapp-nvme.c

index 535aafd4efea167836521334acb047930552bc11..02c9d2beebb695fcceacd7e9605aead2a8209c30 100644 (file)
@@ -880,7 +880,7 @@ static int netapp_smdevices(int argc, char **argv, struct command *command,
 
        num = scandir(dev_path, &devices, netapp_nvme_filter, alphasort);
        if (num <= 0) {
-               fprintf(stderr, "No NVMe devices detected\n");
+               fprintf(stderr, "No smdevices detected\n");
                return num;
        }