https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ffa8ff7574e33d8abed48b...
commit ffa8ff7574e33d8abed48ba04c5970437cbe0ef4 Author: Robert Naumann gonzomdx@gmail.com AuthorDate: Wed Oct 23 15:38:39 2019 +0200 Commit: Hermès BÉLUSCA - MAÏTO hermes.belusca-maito@reactos.org CommitDate: Wed Oct 23 17:23:05 2019 +0200
[SETUP/LIB] Fix wrong if() logic. CID1441307 --- base/setup/lib/utils/bldrsup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/setup/lib/utils/bldrsup.c b/base/setup/lib/utils/bldrsup.c index 4848831068f..554cfc3f56e 100644 --- a/base/setup/lib/utils/bldrsup.c +++ b/base/setup/lib/utils/bldrsup.c @@ -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;