From 5d5519e49bde06b58fe5d0b187971b5dc6fc4722 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Tue, 11 Oct 2005 08:00:05 +0000 Subject: [PATCH] r3714: Make flint actually support unknown sector types, for forward compatibility. --- flint.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/flint.cpp b/flint.cpp index 9f73a32..d377838 100644 --- a/flint.cpp +++ b/flint.cpp @@ -3744,12 +3744,7 @@ bool Operations::checkGen(FBase& f, u_int32_t beg, part_cnt++; // May be BOOT3? - if (gph.type < H_FIRST || gph.type > H_LAST) { - if (part_cnt > 2) { - report("%s /0x%x/ - Invalid partition type (%d)\n", - pref, offs+beg, gph.type); - return false; - } else + if (part_cnt <= 2) { return checkBoot2(f, beg, offs, next, pref); } -- 2.46.0