From a5549c961739fb0d354f3c41cb5fb0d64c8da4ec Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 24 Jan 2008 22:49:15 +0000 Subject: fdisk: fix a case where break was reached only for DOS labels --- util-linux/fdisk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'util-linux/fdisk.c') diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 8271f60f2..00b856684 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; } } -- cgit v1.2.3