[SETUP/LIB] Fix wrong if() logic. CID1441307

This commit is contained in:
Robert Naumann 2019-10-23 15:38:39 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent 183a81ee82
commit ffa8ff7574

View file

@ -1150,7 +1150,7 @@ QueryBootStoreOptions(
//
// if (BootStore->Type >= BldrTypeMax || NtosBootLoaders[BootStore->Type].Type >= BldrTypeMax)
if (BootStore->Type != FreeLdr || BootStore->Type != NtLdr)
if (BootStore->Type != FreeLdr && BootStore->Type != NtLdr)
{
DPRINT1("Loader type %d is currently unsupported!\n", NtosBootLoaders[BootStore->Type].Type);
return STATUS_NOT_SUPPORTED;