Commit 2f3ac064 authored by Benjamin Kramer's avatar Benjamin Kramer Committed by Alexandre Julliard

ntdll: Fix build on MacOSX.

parent 0294cbc0
......@@ -1009,9 +1009,9 @@ NTSTATUS WINAPI NtQuerySystemInformation(
sppi = RtlAllocateHeap(GetProcessHeap(), 0,len);
for (i = 0; i < cpus; i++)
{
sppi[i].liIdleTime.QuadPart = pinfo[i].cpu_ticks[CPU_STATE_IDLE];
sppi[i].liKernelTime.QuadPart = pinfo[i].cpu_ticks[CPU_STATE_SYSTEM];
sppi[i].liUserTime.QuadPart = pinfo[i].cpu_ticks[CPU_STATE_USER];
sppi[i].IdleTime.QuadPart = pinfo[i].cpu_ticks[CPU_STATE_IDLE];
sppi[i].KernelTime.QuadPart = pinfo[i].cpu_ticks[CPU_STATE_SYSTEM];
sppi[i].UserTime.QuadPart = pinfo[i].cpu_ticks[CPU_STATE_USER];
}
vm_deallocate (mach_task_self (), (vm_address_t) pinfo, info_count * sizeof(natural_t));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment