File 0019-fabrics-update-discovery.conf-error-message.patch of Package nvme-cli.26590
From: Martin George <marting@netapp.com>
Date: Tue, 2 Mar 2021 15:25:22 +0530
Subject: fabrics: update discovery.conf error message
References: bsc#1193540
Git-commit: 7ddc9906abb944eeeab3c7df938a7b6b9d9f8c00
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fabrics.c
+++ b/fabrics.c
@@ -1398,7 +1398,7 @@ static int discover_from_conf_file(const
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;
}