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

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