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