diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-21 15:08:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-21 15:08:09 +0000 |
commit | b71c668c577f7780362f7ea632895c11e3760d66 (patch) | |
tree | 860ccf38cce8c5347ae2b714a22b82a1d7dba323 /util-linux | |
parent | 82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff) | |
download | busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.bz2 busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.zip |
style fix (stray space before ';')
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk.c | 4 | ||||
-rw-r--r-- | util-linux/fdisk_sgi.c | 10 | ||||
-rw-r--r-- | util-linux/fdisk_sun.c | 2 |
3 files changed, 8 insertions, 8 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) { |
diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c index b7e09f3c2..25e75b06c 100644 --- a/util-linux/fdisk_sgi.c +++ b/util-linux/fdisk_sgi.c | |||
@@ -142,7 +142,7 @@ static void | |||
142 | add2freelist(unsigned int f, unsigned int l) | 142 | add2freelist(unsigned int f, unsigned int l) |
143 | { | 143 | { |
144 | int i; | 144 | int i; |
145 | for (i = 0; i < 17 ; i++) | 145 | for (i = 0; i < 17; i++) |
146 | if (freelist[i].last == 0) | 146 | if (freelist[i].last == 0) |
147 | break; | 147 | break; |
148 | setfreelist(i, f, l); | 148 | setfreelist(i, f, l); |
@@ -153,7 +153,7 @@ clearfreelist(void) | |||
153 | { | 153 | { |
154 | int i; | 154 | int i; |
155 | 155 | ||
156 | for (i = 0; i < 17 ; i++) | 156 | for (i = 0; i < 17; i++) |
157 | setfreelist(i, 0, 0); | 157 | setfreelist(i, 0, 0); |
158 | } | 158 | } |
159 | 159 | ||
@@ -162,7 +162,7 @@ isinfreelist(unsigned int b) | |||
162 | { | 162 | { |
163 | int i; | 163 | int i; |
164 | 164 | ||
165 | for (i = 0; i < 17 ; i++) | 165 | for (i = 0; i < 17; i++) |
166 | if (freelist[i].first <= b && freelist[i].last >= b) | 166 | if (freelist[i].first <= b && freelist[i].last >= b) |
167 | return freelist[i].last; | 167 | return freelist[i].last; |
168 | return 0; | 168 | return 0; |
@@ -317,7 +317,7 @@ sgi_list_table(int xtra) | |||
317 | printf("----- partitions -----\n" | 317 | printf("----- partitions -----\n" |
318 | "Pt# %*s Info Start End Sectors Id System\n", | 318 | "Pt# %*s Info Start End Sectors Id System\n", |
319 | w + 2, "Device"); | 319 | w + 2, "Device"); |
320 | for (i = 0 ; i < partitions; i++) { | 320 | for (i = 0; i < partitions; i++) { |
321 | if (sgi_get_num_sectors(i) || debug ) { | 321 | if (sgi_get_num_sectors(i) || debug ) { |
322 | uint32_t start = sgi_get_start_sector(i); | 322 | uint32_t start = sgi_get_start_sector(i); |
323 | uint32_t len = sgi_get_num_sectors(i); | 323 | uint32_t len = sgi_get_num_sectors(i); |
@@ -338,7 +338,7 @@ sgi_list_table(int xtra) | |||
338 | printf("----- Bootinfo -----\nBootfile: %s\n" | 338 | printf("----- Bootinfo -----\nBootfile: %s\n" |
339 | "----- Directory Entries -----\n", | 339 | "----- Directory Entries -----\n", |
340 | sgilabel->boot_file); | 340 | sgilabel->boot_file); |
341 | for (i = 0 ; i < sgi_volumes; i++) { | 341 | for (i = 0; i < sgi_volumes; i++) { |
342 | if (sgilabel->directory[i].vol_file_size) { | 342 | if (sgilabel->directory[i].vol_file_size) { |
343 | uint32_t start = SGI_SSWAP32(sgilabel->directory[i].vol_file_start); | 343 | uint32_t start = SGI_SSWAP32(sgilabel->directory[i].vol_file_start); |
344 | uint32_t len = SGI_SSWAP32(sgilabel->directory[i].vol_file_size); | 344 | uint32_t len = SGI_SSWAP32(sgilabel->directory[i].vol_file_size); |
diff --git a/util-linux/fdisk_sun.c b/util-linux/fdisk_sun.c index d4614fd4f..274b10345 100644 --- a/util-linux/fdisk_sun.c +++ b/util-linux/fdisk_sun.c | |||
@@ -647,7 +647,7 @@ sun_list_table(int xtra) | |||
647 | 647 | ||
648 | printf("%*s Flag Start End Blocks Id System\n", | 648 | printf("%*s Flag Start End Blocks Id System\n", |
649 | w + 1, "Device"); | 649 | w + 1, "Device"); |
650 | for (i = 0 ; i < partitions; i++) { | 650 | for (i = 0; i < partitions; i++) { |
651 | if (sunlabel->partitions[i].num_sectors) { | 651 | if (sunlabel->partitions[i].num_sectors) { |
652 | uint32_t start = SUN_SSWAP32(sunlabel->partitions[i].start_cylinder) * heads * sectors; | 652 | uint32_t start = SUN_SSWAP32(sunlabel->partitions[i].start_cylinder) * heads * sectors; |
653 | uint32_t len = SUN_SSWAP32(sunlabel->partitions[i].num_sectors); | 653 | uint32_t len = SUN_SSWAP32(sunlabel->partitions[i].num_sectors); |