Fix an obvious typo spotted by Reid Kleckner, and breaking windows builds.
authorChandler Carruth <chandlerc@gmail.com>
Fri, 4 Jan 2013 23:46:04 +0000 (23:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 4 Jan 2013 23:46:04 +0000 (23:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171559 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/Process.inc

index 789ae7ddcea7fadd9fc65f6924539fbd067a60d5..ad9412852f101f6d8b8ab48a990eea721e44a318 100644 (file)
@@ -116,7 +116,7 @@ void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
     return;
 
   user_time = getTimeValueFromFILETIME(UserTime);
-  sys_time = getTimeValueFromFILETIME(SystemTime);
+  sys_time = getTimeValueFromFILETIME(KernelTime);
 }
 
 int Process::GetCurrentUserId()