Fixed, message "Huge pages support was successfully enabled, but reboot required to use it" was not shown in release builds.
This commit is contained in:
parent
8bba0df054
commit
beb9af4313
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static BOOL ObtainLockPagesPrivilege() {
|
||||||
LSA_UNICODE_STRING str = StringToLsaUnicodeString(_T(SE_LOCK_MEMORY_NAME));
|
LSA_UNICODE_STRING str = StringToLsaUnicodeString(_T(SE_LOCK_MEMORY_NAME));
|
||||||
|
|
||||||
if (LsaAddAccountRights(handle, user->User.Sid, &str, 1) == 0) {
|
if (LsaAddAccountRights(handle, user->User.Sid, &str, 1) == 0) {
|
||||||
LOG_DEBUG("Huge pages support was successfully enabled, but reboot required to use it");
|
LOG_NOTICE("Huge pages support was successfully enabled, but reboot required to use it");
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue