aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2010-07-20 10:10:25 +0200
committerChristophe Varoqui <christophe.varoqui@opensvc.com>2010-07-26 10:30:20 +0200
commitc9eeb550d884180e9ed1ea7938e74ac704fd3606 (patch)
tree0cdadeab48dd24e872b3a447684afde2310bbe4d
parentf3d38b8a2b62130833f05e20d1e3c925bb155196 (diff)
downloadmultipath-tools-c9eeb550d884180e9ed1ea7938e74ac704fd3606.tar.gz
Fix typo in coalesce_paths
We allocate space for the alias, but never use it. Signed-off-by: Hannes Reinecke <hare@suse.de>
-rw-r--r--libmultipath/configure.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmultipath/configure.c b/libmultipath/configure.c
index c6ca4b6..f32a484 100644
--- a/libmultipath/configure.c
+++ b/libmultipath/configure.c
@@ -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;