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