Blame SOURCES/0031-RHBZ-957188-kpartx-use-dm-name.patch

38852f
---
38852f
 kpartx/kpartx.c |    2 +-
38852f
 1 file changed, 1 insertion(+), 1 deletion(-)
38852f
38852f
Index: multipath-tools-130222/kpartx/kpartx.c
38852f
===================================================================
38852f
--- multipath-tools-130222.orig/kpartx/kpartx.c
38852f
+++ multipath-tools-130222/kpartx/kpartx.c
38852f
@@ -348,7 +348,7 @@ main(int argc, char **argv){
38852f
 	if (delim == NULL) {
38852f
 		delim = malloc(DELIM_SIZE);
38852f
 		memset(delim, 0, DELIM_SIZE);
38852f
-		set_delimiter(device, delim);
38852f
+		set_delimiter(mapname, delim);
38852f
 	}
38852f
 
38852f
 	fd = open(device, O_RDONLY);