OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=b55ef5bd7cab3581f84f7a143ea38fd8
14 lines
741 B
Diff
14 lines
741 B
Diff
Index: parted-2.3/libparted/arch/linux.c
|
|
===================================================================
|
|
--- parted-2.3.orig/libparted/arch/linux.c 2010-07-08 13:33:05.000000000 +0200
|
|
+++ parted-2.3/libparted/arch/linux.c 2010-07-08 13:33:13.000000000 +0200
|
|
@@ -2194,7 +2194,7 @@ _device_get_part_path (PedDevice* dev, i
|
|
|| dev->type == PED_DEVICE_ATARAID
|
|
|| dev->type == PED_DEVICE_DM
|
|
|| isdigit (dev->path[path_len - 1]))
|
|
- snprintf (result, result_len, "%sp%d", dev->path, num);
|
|
+ snprintf (result, result_len, "%s_part%d", dev->path, num);
|
|
else
|
|
snprintf (result, result_len, "%s%d", dev->path, num);
|
|
|