aboutsummaryrefslogtreecommitdiffstats
path: root/main/dmraid/001-do_not_use_p_for_partition.patch
blob: faa0b5b73e5f359c81ddbce3110fd5dd66355567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Giuseppe Iuculano <giuseppe@iuculano.it>
Description: Removed "p" from device name. A proper upgrade script is needed before using it.
--- dmraid/lib/format/partition/dos.c
+++ dmraid/lib/format/partition/dos.c
@@ -31,7 +31,7 @@ _name(struct lib_context *lc, struct rai
 {
 	const char *base = get_basename(lc, rd->di->path);
 
-	return type ? snprintf(str, len, "%s%s%u", base, OPT_STR_PARTCHAR(lc),
+	return type ? snprintf(str, len, "%s%u", base,
 			       partition) : snprintf(str, len, "%s", base);
 }