diff options
Diffstat (limited to 'util-linux/fdisk_sun.c')
-rw-r--r-- | util-linux/fdisk_sun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk_sun.c b/util-linux/fdisk_sun.c index e595444c4..eec319c6e 100644 --- a/util-linux/fdisk_sun.c +++ b/util-linux/fdisk_sun.c | |||
@@ -230,8 +230,7 @@ static void | |||
230 | create_sunlabel(void) | 230 | create_sunlabel(void) |
231 | { | 231 | { |
232 | struct hd_geometry geometry; | 232 | struct hd_geometry geometry; |
233 | unsigned int ndiv; | 233 | unsigned ndiv; |
234 | int i; | ||
235 | unsigned char c; | 234 | unsigned char c; |
236 | const struct sun_predefined_drives *p = NULL; | 235 | const struct sun_predefined_drives *p = NULL; |
237 | 236 | ||
@@ -241,6 +240,7 @@ create_sunlabel(void) | |||
241 | memset(MBRbuffer, 0, sizeof(MBRbuffer)); | 240 | memset(MBRbuffer, 0, sizeof(MBRbuffer)); |
242 | sunlabel->magic = SUN_SSWAP16(SUN_LABEL_MAGIC); | 241 | sunlabel->magic = SUN_SSWAP16(SUN_LABEL_MAGIC); |
243 | if (!floppy) { | 242 | if (!floppy) { |
243 | unsigned i; | ||
244 | puts("Drive type\n" | 244 | puts("Drive type\n" |
245 | " ? auto configure\n" | 245 | " ? auto configure\n" |
246 | " 0 custom (with hardware detected defaults)"); | 246 | " 0 custom (with hardware detected defaults)"); |