diff options
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 3b9892fa8..0a8dbe94c 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -1823,7 +1823,7 @@ wrong_p_order(int *prev) | |||
1823 | ullong last_p_start_pos = 0, p_start_pos; | 1823 | ullong last_p_start_pos = 0, p_start_pos; |
1824 | int i, last_i = 0; | 1824 | int i, last_i = 0; |
1825 | 1825 | ||
1826 | for (i = 0 ; i < partitions; i++) { | 1826 | for (i = 0; i < partitions; i++) { |
1827 | if (i == 4) { | 1827 | if (i == 4) { |
1828 | last_i = 4; | 1828 | last_i = 4; |
1829 | last_p_start_pos = 0; | 1829 | last_p_start_pos = 0; |
@@ -2041,7 +2041,7 @@ x_list_table(int extend) | |||
2041 | printf("\nDisk %s: %d heads, %d sectors, %d cylinders\n\n", | 2041 | printf("\nDisk %s: %d heads, %d sectors, %d cylinders\n\n", |
2042 | disk_device, heads, sectors, cylinders); | 2042 | disk_device, heads, sectors, cylinders); |
2043 | printf("Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n"); | 2043 | printf("Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n"); |
2044 | for (i = 0 ; i < partitions; i++) { | 2044 | for (i = 0; i < partitions; i++) { |
2045 | pe = &ptes[i]; | 2045 | pe = &ptes[i]; |
2046 | p = (extend ? pe->ext_pointer : pe->part_table); | 2046 | p = (extend ? pe->ext_pointer : pe->part_table); |
2047 | if (p != NULL) { | 2047 | if (p != NULL) { |