forked from pool/util-linux
19 lines
601 B
Diff
19 lines
601 B
Diff
|
--- util-linux-2.24/libfdisk/src/dos.c.orig 2013-10-21 11:22:29.810014709 +0200
|
||
|
+++ util-linux-2.24/libfdisk/src/dos.c 2013-11-13 23:57:27.535962925 +0100
|
||
|
@@ -1107,6 +1107,7 @@
|
||
|
/* compute logical ending (c, h, s) */
|
||
|
long2chs(cxt, dos_partition_get_start(p) + dos_partition_get_size(p) - 1, &lec, &leh, &les);
|
||
|
|
||
|
+#if 0
|
||
|
/* Same physical / logical beginning? */
|
||
|
if (cxt->geom.cylinders <= 1024
|
||
|
&& (pbc != lbc || pbh != lbh || pbs != lbs)) {
|
||
|
@@ -1117,6 +1118,7 @@
|
||
|
pbc, pbh, pbs,
|
||
|
lbc, lbh, lbs);
|
||
|
}
|
||
|
+#endif
|
||
|
|
||
|
/* Same physical / logical ending? */
|
||
|
if (cxt->geom.cylinders <= 1024
|