diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-08-16 11:13:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-08-16 11:13:30 +0200 |
commit | 9ba502456f92160af4caebe06b96077f2021b3ac (patch) | |
tree | 728188acc58271984305da2ecfe24ba5ef845e77 | |
parent | 59243a86d97b793bd4e2c98911fd3a7e41af34c4 (diff) | |
download | busybox-w32-9ba502456f92160af4caebe06b96077f2021b3ac.tar.gz busybox-w32-9ba502456f92160af4caebe06b96077f2021b3ac.tar.bz2 busybox-w32-9ba502456f92160af4caebe06b96077f2021b3ac.zip |
fdisk: indentation fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/fdisk_sun.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/fdisk_sun.c b/util-linux/fdisk_sun.c index 427b9487b..66e434833 100644 --- a/util-linux/fdisk_sun.c +++ b/util-linux/fdisk_sun.c | |||
@@ -292,10 +292,10 @@ create_sunlabel(void) | |||
292 | } else { | 292 | } else { |
293 | g_heads = read_int(1, g_heads, 1024, 0, "Heads"); | 293 | g_heads = read_int(1, g_heads, 1024, 0, "Heads"); |
294 | g_sectors = read_int(1, g_sectors, 1024, 0, "Sectors/track"); | 294 | g_sectors = read_int(1, g_sectors, 1024, 0, "Sectors/track"); |
295 | if (g_cylinders) | 295 | if (g_cylinders) |
296 | g_cylinders = read_int(1, g_cylinders - 2, 65535, 0, "Cylinders"); | 296 | g_cylinders = read_int(1, g_cylinders - 2, 65535, 0, "Cylinders"); |
297 | else | 297 | else |
298 | g_cylinders = read_int(1, 0, 65535, 0, "Cylinders"); | 298 | g_cylinders = read_int(1, 0, 65535, 0, "Cylinders"); |
299 | sunlabel->nacyl = SUN_SSWAP16(read_int(0, 2, 65535, 0, "Alternate cylinders")); | 299 | sunlabel->nacyl = SUN_SSWAP16(read_int(0, 2, 65535, 0, "Alternate cylinders")); |
300 | sunlabel->pcylcount = SUN_SSWAP16(read_int(0, g_cylinders + SUN_SSWAP16(sunlabel->nacyl), 65535, 0, "Physical cylinders")); | 300 | sunlabel->pcylcount = SUN_SSWAP16(read_int(0, g_cylinders + SUN_SSWAP16(sunlabel->nacyl), 65535, 0, "Physical cylinders")); |
301 | sunlabel->rspeed = SUN_SSWAP16(read_int(1, 5400, 100000, 0, "Rotation speed (rpm)")); | 301 | sunlabel->rspeed = SUN_SSWAP16(read_int(1, 5400, 100000, 0, "Rotation speed (rpm)")); |