forked from pool/parted
- libparted-fix-mmcblk-partition-name.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=77
19 lines
636 B
Diff
19 lines
636 B
Diff
---
|
|
libparted/arch/linux.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: parted-2.4/libparted/arch/linux.c
|
|
===================================================================
|
|
--- parted-2.4.orig/libparted/arch/linux.c
|
|
+++ parted-2.4/libparted/arch/linux.c
|
|
@@ -2227,7 +2227,8 @@ _device_get_part_path (PedDevice *dev, i
|
|
(int) (path_len - 5), dev->path, num);
|
|
} else {
|
|
const char *p;
|
|
- if (dev->type == PED_DEVICE_CPQARRAY)
|
|
+ if (dev->type == PED_DEVICE_CPQARRAY ||
|
|
+ dev->type == PED_DEVICE_SDMMC)
|
|
p = "p";
|
|
else
|
|
p = (dev->type == PED_DEVICE_DAC960
|