aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r--util-linux/fdisk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 55f716657..85acaa4aa 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -4506,8 +4506,7 @@ change_sysid(void)
4506 label_sun != current_label_type && !get_nr_sects(p)) 4506 label_sun != current_label_type && !get_nr_sects(p))
4507 { 4507 {
4508 printf(_("Partition %d does not exist yet!\n"), i + 1); 4508 printf(_("Partition %d does not exist yet!\n"), i + 1);
4509 }else{ 4509 } else while (1) {
4510 while (1) {
4511 sys = read_hex (get_sys_types()); 4510 sys = read_hex (get_sys_types());
4512 4511
4513 if (!sys && label_sgi != current_label_type && 4512 if (!sys && label_sgi != current_label_type &&
@@ -4573,7 +4572,6 @@ change_sysid(void)
4573 dos_changed = 1; 4572 dos_changed = 1;
4574 break; 4573 break;
4575 } 4574 }
4576 }
4577 } 4575 }
4578} 4576}
4579#endif /* CONFIG_FEATURE_FDISK_WRITABLE */ 4577#endif /* CONFIG_FEATURE_FDISK_WRITABLE */