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

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

index d7dc758305461146b5af4e87e3488a370fb97bde..535aafd4efea167836521334acb047930552bc11 100644 (file)
@@ -990,7 +990,7 @@ static int netapp_ontapdevices(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 ontapdevices detected\n");
                return num;
        }