forked from pool/util-linux
a59bc81b6f
- util-linux.spec: work around su(1) PAM problems based on su(1) being provided by both the coreutils and the util-linux package. Fix macro typo in %post and %verifyscript sections related to su(1): s/sysvinit_tools/enable_su/ (forwarded request 177950 from bernhard-voelker) OBS-URL: https://build.opensuse.org/request/show/177962 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=160
21 lines
851 B
Diff
21 lines
851 B
Diff
--- util-linux-2.23.1/fdisks/fdiskdoslabel.c
|
|
+++ util-linux-2.23.1/fdisks/fdiskdoslabel.c 2013-06-05 10:11:14.121939007 +0000
|
|
@@ -817,7 +817,7 @@ static void check_consistency(struct fdi
|
|
|
|
/* compute logical ending (c, h, s) */
|
|
long2chs(cxt, get_start_sect(p) + get_nr_sects(p) - 1, &lec, &leh, &les);
|
|
-
|
|
+#if 0
|
|
/* Same physical / logical beginning? */
|
|
if (cxt->geom.cylinders <= 1024 && (pbc != lbc || pbh != lbh || pbs != lbs)) {
|
|
printf(_("Partition %zd has different physical/logical "
|
|
@@ -833,7 +833,7 @@ static void check_consistency(struct fdi
|
|
printf(_(" phys=(%d, %d, %d) "), pec, peh, pes);
|
|
printf(_("logical=(%d, %d, %d)\n"),lec, leh, les);
|
|
}
|
|
-
|
|
+#endif
|
|
/* Ending on cylinder boundary? */
|
|
if (peh != (cxt->geom.heads - 1) || pes != cxt->geom.sectors) {
|
|
printf(_("Partition %zd does not end on cylinder boundary.\n"),
|