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