diff --git a/2.x/trunk/plugins/ExtendedTools/memlists.c b/2.x/trunk/plugins/ExtendedTools/memlists.c index 52cf8dd90..19e47c717 100644 --- a/2.x/trunk/plugins/ExtendedTools/memlists.c +++ b/2.x/trunk/plugins/ExtendedTools/memlists.c @@ -238,12 +238,14 @@ INT_PTR CALLBACK EtpMemoryListsDlgProc( RtlReleasePrivilege(returnedState); } - if (status == 0xc0000061 /* STATUS_PRIVILEGE_NOT_HELD */) - { - PhShowError(hwndDlg, L"Process Hacker must be elevated to execute this command."); - } - else if (!NT_SUCCESS(status)) + if (status == STATUS_PRIVILEGE_NOT_HELD) + { + PhShowError(hwndDlg, L"Process Hacker must be elevated to execute this command."); + } + else if (!NT_SUCCESS(status)) + { PhShowStatus(hwndDlg, L"Unable to execute the memory list command", status, 0); + } } DestroyMenu(menu);