Skip to content

Commit ff219e5

Browse files
committed
ExtendedTools: Fix disk activity showing from the System Idle process
1 parent 36cade8 commit ff219e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/ExtendedTools/etwstat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ HANDLE EtThreadIdToProcessId(
394394
if (!EtpProcessInformation)
395395
{
396396
PhReleaseQueuedLockShared(&EtpProcessInformationLock);
397-
return NULL;
397+
return SYSTEM_PROCESS_ID;
398398
}
399399

400400
process = PH_FIRST_PROCESS(EtpProcessInformation);
@@ -415,5 +415,5 @@ HANDLE EtThreadIdToProcessId(
415415

416416
PhReleaseQueuedLockShared(&EtpProcessInformationLock);
417417

418-
return NULL;
418+
return SYSTEM_PROCESS_ID;
419419
}

0 commit comments

Comments
 (0)