diff options
author | Denis Vlasenko | 2007-07-21 15:08:09 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-07-21 15:08:09 +0000 |
commit | b71c668c577f7780362f7ea632895c11e3760d66 (patch) | |
tree | 860ccf38cce8c5347ae2b714a22b82a1d7dba323 /util-linux | |
parent | 82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff) | |
download | busybox-b71c668c577f7780362f7ea632895c11e3760d66.zip busybox-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz |
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 3b9892f..0a8dbe9 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -1823,7 +1823,7 @@ wrong_p_order(int *prev) ullong last_p_start_pos = 0, p_start_pos; int i, last_i = 0; - for (i = 0 ; i < partitions; i++) { + for (i = 0; i < partitions; i++) { if (i == 4) { last_i = 4; last_p_start_pos = 0; @@ -2041,7 +2041,7 @@ x_list_table(int extend) printf("\nDisk %s: %d heads, %d sectors, %d cylinders\n\n", disk_device, heads, sectors, cylinders); printf("Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n"); - for (i = 0 ; i < partitions; i++) { + for (i = 0; i < partitions; i++) { pe = &ptes[i]; p = (extend ? pe->ext_pointer : pe->part_table); if (p != NULL) { diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c index b7e09f3..25e75b0 100644 --- a/util-linux/fdisk_sgi.c +++ b/util-linux/fdisk_sgi.c @@ -142,7 +142,7 @@ static void add2freelist(unsigned int f, unsigned int l) { int i; - for (i = 0; i < 17 ; i++) + for (i = 0; i < 17; i++) if (freelist[i].last == 0) break; setfreelist(i, f, l); @@ -153,7 +153,7 @@ clearfreelist(void) { int i; - for (i = 0; i < 17 ; i++) + for (i = 0; i < 17; i++) setfreelist(i, 0, 0); } @@ -162,7 +162,7 @@ isinfreelist(unsigned int b) { int i; - for (i = 0; i < 17 ; i++) + for (i = 0; i < 17; i++) if (freelist[i].first <= b && freelist[i].last >= b) return freelist[i].last; return 0; @@ -317,7 +317,7 @@ sgi_list_table(int xtra) printf("----- partitions -----\n" "Pt# %*s Info Start End Sectors Id System\n", w + 2, "Device"); - for (i = 0 ; i < partitions; i++) { + for (i = 0; i < partitions; i++) { if (sgi_get_num_sectors(i) || debug ) { uint32_t start = sgi_get_start_sector(i); uint32_t len = sgi_get_num_sectors(i); @@ -338,7 +338,7 @@ sgi_list_table(int xtra) printf("----- Bootinfo -----\nBootfile: %s\n" "----- Directory Entries -----\n", sgilabel->boot_file); - for (i = 0 ; i < sgi_volumes; i++) { + for (i = 0; i < sgi_volumes; i++) { if (sgilabel->directory[i].vol_file_size) { uint32_t start = SGI_SSWAP32(sgilabel->directory[i].vol_file_start); 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 d4614fd..274b103 100644 --- a/util-linux/fdisk_sun.c +++ b/util-linux/fdisk_sun.c @@ -647,7 +647,7 @@ sun_list_table(int xtra) printf("%*s Flag Start End Blocks Id System\n", w + 1, "Device"); - for (i = 0 ; i < partitions; i++) { + for (i = 0; i < partitions; i++) { if (sunlabel->partitions[i].num_sectors) { uint32_t start = SUN_SSWAP32(sunlabel->partitions[i].start_cylinder) * heads * sectors; uint32_t len = SUN_SSWAP32(sunlabel->partitions[i].num_sectors); |