libblkid: (gpt) fix force flag

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-02-15 11:30:58 +01:00
parent 5635d19550
commit e9e88bb8e9
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ static int is_pmbr_valid(blkid_probe pr, int *has)
if (has)
*has = 0;
if (flags & BLKID_PARTS_FORCE_GPT)
else if (flags & BLKID_PARTS_FORCE_GPT)
return 1; /* skip PMBR check */
data = blkid_probe_get_sector(pr, 0);