Sorry, accidently committed a bug...

svn path=/trunk/; revision=24522
This commit is contained in:
Thomas Bluemel 2006-10-15 12:50:30 +00:00
parent f682bf63e7
commit 5a34618d8e

View file

@ -200,7 +200,7 @@ KiGetCpuVendor(VOID)
/* Copy it to the PRCB and null-terminate it again */
RtlCopyMemory(Prcb->VendorString,
&Vendor[0],
&Vendor[1],
sizeof(Prcb->VendorString) - sizeof(CHAR));
Prcb->VendorString[sizeof(Prcb->VendorString) - sizeof(CHAR)] = ANSI_NULL;