forked from pool/parted
Copy from home:puzel:staging/parted via accept of submit request 43317 revision 2. Request was accepted with message: OBS-URL: https://build.opensuse.org/request/show/43317 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=26
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);
|
|
|