]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
fabrics: update discovery.conf error message
authorMartin George <marting@netapp.com>
Tue, 2 Mar 2021 09:55:22 +0000 (15:25 +0530)
committerKeith Busch <kbusch@kernel.org>
Tue, 2 Mar 2021 18:03:55 +0000 (11:03 -0700)
Remove the extra "conf" in the error message when the open on
/etc/nvme/discovery.conf fails.

Signed-off-by: Martin George <marting@netapp.com>
fabrics.c

index 01037678ac7ce5cd7b9d6eb2372885743d09e96c..dfdcf2a2d307d5fd89cb7376e50c51f8f3f1dd7e 100644 (file)
--- a/fabrics.c
+++ b/fabrics.c
@@ -1433,7 +1433,7 @@ static int discover_from_conf_file(const char *desc, char *argstr,
 
        f = fopen(PATH_NVMF_DISC, "r");
        if (f == NULL) {
-               fprintf(stderr, "No discover params given and no %s conf\n",
+               fprintf(stderr, "No discover params given and no %s\n",
                        PATH_NVMF_DISC);
                return -EINVAL;
        }