summaryrefslogtreecommitdiffstats
path: root/0031-RHBZ-957188-kpartx-use-dm-name.patch
blob: 282c517c0c1ac0511a8f54aa326effa229946863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 kpartx/kpartx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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