Blame SOURCES/0053-UP-fix-failback.patch

4728c8
---
4728c8
 libmultipath/dict.c |    6 +++---
4728c8
 1 file changed, 3 insertions(+), 3 deletions(-)
4728c8
4728c8
Index: multipath-tools-130222/libmultipath/dict.c
4728c8
===================================================================
4728c8
--- multipath-tools-130222.orig/libmultipath/dict.c
4728c8
+++ multipath-tools-130222/libmultipath/dict.c
4728c8
@@ -1126,11 +1126,11 @@ hw_failback_handler(vector strvec)
4728c8
 
4728c8
 	buff = set_value(strvec);
4728c8
 
4728c8
-	if (strlen(buff) == 6 && !strcmp(buff, "\"manual\""))
4728c8
+       if (strlen(buff) == 6 && !strcmp(buff, "manual"))
4728c8
 		hwe->pgfailback = -FAILBACK_MANUAL;
4728c8
-	else if (strlen(buff) == 9 && !strcmp(buff, "\"immediate\""))
4728c8
+       else if (strlen(buff) == 9 && !strcmp(buff, "immediate"))
4728c8
 		hwe->pgfailback = -FAILBACK_IMMEDIATE;
4728c8
-	else if (strlen(buff) == 10 && !strcmp(buff, "\"followover\""))
4728c8
+       else if (strlen(buff) == 10 && !strcmp(buff, "followover"))
4728c8
 		hwe->pgfailback = -FAILBACK_FOLLOWOVER;
4728c8
 	else
4728c8
 		hwe->pgfailback = atoi(buff);