commit | a5549c961739fb0d354f3c41cb5fb0d64c8da4ec | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Thu Jan 24 22:49:15 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Thu Jan 24 22:49:15 2008 +0000 |
tree | 124661cc0161a21e3e9eb8ca43411b7cf6b1ac02 | |
parent | 680b86afbb8ba466176ad6866409496225660009 [diff] [blame] |
fdisk: fix a case where break was reached only for DOS labels
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 @@ "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; } }