[NTOSKRNL/PPC]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 6 Feb 2011 13:50:57 +0000 (13:50 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 6 Feb 2011 13:50:57 +0000 (13:50 +0000)
Fix the fix, spotted by "ThFabba" on IRC

svn path=/trunk/; revision=50612

reactos/ntoskrnl/ke/powerpc/cpu.c

index 5b52d6b..3c555fa 100644 (file)
@@ -44,7 +44,7 @@ NTAPI
 CPUID(IN ULONG CpuInfo[4],
       IN ULONG InfoType)
 {
-    RtlZeroMemory(CpuInfo, sizeof(CpuInfo) * sizeof(ULONG));
+    RtlZeroMemory(CpuInfo, 4 * sizeof(ULONG));
 }
 
 VOID