summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-24 22:49:15 +0000
committerDenis Vlasenko2008-01-24 22:49:15 +0000
commita5549c961739fb0d354f3c41cb5fb0d64c8da4ec (patch)
tree124661cc0161a21e3e9eb8ca43411b7cf6b1ac02 /util-linux
parent680b86afbb8ba466176ad6866409496225660009 (diff)
downloadbusybox-a5549c961739fb0d354f3c41cb5fb0d64c8da4ec.zip
busybox-a5549c961739fb0d354f3c41cb5fb0d64c8da4ec.tar.gz
fdisk: fix a case where break was reached only for DOS labels
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 8271f60..00b8566 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -1734,9 +1734,8 @@ change_sysid(void)
"to %x (%s)\n", i + 1, sys,
partition_type(sys));
ptes[i].changed = 1;
- if (is_dos_partition(origsys) ||
- is_dos_partition(sys))
- //dos_changed = 1;
+ //if (is_dos_partition(origsys) || is_dos_partition(sys))
+ // dos_changed = 1;
break;
}
}