summaryrefslogtreecommitdiffhomepage
path: root/util-linux/fdisk_sun.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdisk_sun.c')
-rw-r--r--util-linux/fdisk_sun.c2
1 files changed, 1 insertions, 1 deletions
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)
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);