Fixed the the conversion of the vendor identifier string. Sometimes, the wrong conver...
[reactos.git] / reactos / boot / freeldr / freeldr / arch / i386 / hwcpu.c
index 6a033f3..7c502d6 100644 (file)
@@ -155,7 +155,7 @@ DetectCPU(FRLDRHKEY CpuKey,
       *Ptr = edx;
       Ptr++;
       *Ptr = ecx;
-      swprintf(VendorIdentifier, L"%s", tmpVendorIdentifier);
+      swprintf(VendorIdentifier, L"%S", tmpVendorIdentifier);
 
       /* Get Identifier */
       GetCpuid(1, &eax, &ebx, &ecx, &edx);
@@ -308,7 +308,7 @@ SetMpsProcessor(FRLDRHKEY CpuKey,
   *Ptr = edx;
   Ptr++;
   *Ptr = ecx;
-  swprintf(VendorIdentifier, L"%s", tmpVendorIdentifier);
+  swprintf(VendorIdentifier, L"%S", tmpVendorIdentifier);
 
   /* Get 'Identifier' */
   swprintf(Identifier,