Blame SOURCES/open-iscsi-2.0.876-70-Fix-bug-in-error-message-when-reading-sysfs-numbers.patch

62f653
commit 8bf04a094e572c56d4f8bd30ff064c84c75a0247
62f653
Author: Lee Duncan <lduncan@suse.com>
62f653
Date:   Tue Sep 25 09:53:55 2018 -0700
62f653
62f653
    Fix bug in error message when reading sysfs numbers.
62f653
    
62f653
    The message printed when ENOENT was returned for
62f653
    a number-type sysfs value was missing the attribute
62f653
    name parameter.
62f653
---
62f653
 libopeniscsiusr/sysfs.c | 2 +-
62f653
 1 file changed, 1 insertion(+), 1 deletion(-)
62f653
62f653
diff --git a/libopeniscsiusr/sysfs.c b/libopeniscsiusr/sysfs.c
62f653
index c4f89a31aca0..5e6532e7746f 100644
62f653
--- a/libopeniscsiusr/sysfs.c
62f653
+++ b/libopeniscsiusr/sysfs.c
62f653
@@ -237,7 +237,7 @@ static int iscsi_sysfs_prop_get_ll(struct iscsi_context *ctx,
62f653
 				       "Failed to read '%s': "
62f653
 				      "File '%s' does not exists, using ",
62f653
 				      "default value %lld",
62f653
-				      file_path, default_value);
62f653
+				      prop_name, file_path, default_value);
62f653
 				*val = default_value;
62f653
 				goto out;
62f653
 			}