OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=105
19 lines
636 B
Diff
19 lines
636 B
Diff
---
|
|
libparted/arch/linux.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: parted-3.1/libparted/arch/linux.c
|
|
===================================================================
|
|
--- parted-3.1.orig/libparted/arch/linux.c
|
|
+++ parted-3.1/libparted/arch/linux.c
|
|
@@ -2240,7 +2240,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
|