mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[SETUP/LIB] Fix wrong if() logic. CID1441307
This commit is contained in:
committed by
Hermès BÉLUSCA - MAÏTO
parent
183a81ee82
commit
ffa8ff7574
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user