changeset 3834:279ef1916773

7065535: Mistyped function name that disabled UseLargePages on Windows Summary: Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option Reviewed-by: coleenp, phh
author zgu
date Tue, 12 Jul 2011 21:13:53 -0400
parents b1cbb0907b36
children a68e11dceb83
files src/os/windows/vm/os_windows.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp	Fri Apr 15 09:34:43 2011 -0400
+++ b/src/os/windows/vm/os_windows.cpp	Tue Jul 12 21:13:53 2011 -0400
@@ -5079,7 +5079,7 @@
       _OpenProcessToken = (OpenProcessToken_Fn)::GetProcAddress(handle,
         "OpenProcessToken");
       _LookupPrivilegeValue = (LookupPrivilegeValue_Fn)::GetProcAddress(handle,
-        "LookupPrivilegeValue");
+        "LookupPrivilegeValueA");
     }
     initialized = TRUE;
   }