Skip to contentSkip to conversation

Fix typo in coalesce_paths

PATCH New Hannes Reinecke 1 participant 1 message Jul 20, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in coalesce_paths

We allocate space for the alias, but never use it.

---
 libmultipath/configure.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
libmultipath/configure.c +3 -3
index c6ca4b6..f32a484 100644
@@ -577,11 +577,11 @@ coalesce_paths (struct vectors * vecs, vector newmp, char * refwwid, int force_r
 
 			remove_map(mpp, vecs, 0);
 
-			if (dm_flush_map(mpp->alias))
+			if (dm_flush_map(alias))
 				condlog(2, "%s: remove failed (dead)",
-					mpp->alias);
+					alias);
 			else
-				condlog(2, "%s: remove (dead)", mpp->alias);
+				condlog(2, "%s: remove (dead)", alias);
 		}
 	}
 	return 0;
Signature · 1 line
1.6.0.2