Blame SOURCES/0218-RHBZ-1459370-add-feature-fix.patch

f20720
---
f20720
 libmultipath/structs.c |   10 ++++++++++
f20720
 1 file changed, 10 insertions(+)
f20720
f20720
Index: multipath-tools-130222/libmultipath/structs.c
f20720
===================================================================
f20720
--- multipath-tools-130222.orig/libmultipath/structs.c
f20720
+++ multipath-tools-130222/libmultipath/structs.c
f20720
@@ -511,6 +511,16 @@ add_feature (char **f, char *n)
f20720
 	if (!n || *n == '0')
f20720
 		return 0;
f20720
 
f20720
+	/* default feature is null */
f20720
+	if (!*f)
f20720
+	{
f20720
+		l = asprintf(&t, "1 %s", n);
f20720
+		if (l == -1)
f20720
+			return 1;
f20720
+		*f = t;
f20720
+		return 0;
f20720
+	}
f20720
+
f20720
 	/* Check if feature is already present */
f20720
 	if (strstr(*f, n))
f20720
 		return 0;