diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-05-26 18:51:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-05-26 18:51:18 +0200 |
commit | 8bc418f07eab79a9c8d26594629799f6157a9466 (patch) | |
tree | f1db13fe3cfe67c893a18f4b0fd9d54c31eb2435 | |
parent | bf7f103ffb6e2644e9c063cba723e25635c14a52 (diff) | |
download | busybox-w32-8bc418f07eab79a9c8d26594629799f6157a9466.tar.gz busybox-w32-8bc418f07eab79a9c8d26594629799f6157a9466.tar.bz2 busybox-w32-8bc418f07eab79a9c8d26594629799f6157a9466.zip |
fdisk: remove "Partition N does not end on cylinder boundary" message
fdisk from util-linux 2.31 (maybe earlier) does not print this.
function old new delta
check_consistency 449 399 -50
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/fdisk.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 7275535e6..cdcba0a03 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -2004,12 +2004,6 @@ check_consistency(const struct partition *p, int partition) | |||
2004 | printf(" phys=(%u,%u,%u) ", pec, peh, pes); | 2004 | printf(" phys=(%u,%u,%u) ", pec, peh, pes); |
2005 | printf("logical=(%u,%u,%u)\n", lec, leh, les); | 2005 | printf("logical=(%u,%u,%u)\n", lec, leh, les); |
2006 | } | 2006 | } |
2007 | |||
2008 | /* Ending on cylinder boundary? */ | ||
2009 | if (peh != (g_heads - 1) || pes != g_sectors) { | ||
2010 | printf("Partition %u does not end on cylinder boundary\n", | ||
2011 | partition + 1); | ||
2012 | } | ||
2013 | } | 2007 | } |
2014 | 2008 | ||
2015 | static void | 2009 | static void |