[NTOS:EX] ExpInitializeExecutive(): Fix 'PerfMem' copypasta (#2841)

Detected by Cppcheck: identicalInnerCondition.
Addendum to commit c307d73c (r25621).
This commit is contained in:
Serge Gautherie 2020-05-24 19:37:16 +02:00 committed by GitHub
parent dd7fb63cd1
commit de0ce9dd02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1000,7 +1000,7 @@ ExpInitializeExecutive(IN ULONG Cpu,
{
/* Read the number of pages we'll use */
PerfMemUsed = atol(PerfMem + 1) * (1024 * 1024 / PAGE_SIZE);
if (PerfMem)
if (PerfMemUsed)
{
/* FIXME: TODO */
DPRINT1("BBT performance mode not yet supported."