]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Application/Cpuid/Cpuid.c
UefiCpuPkg/Cpuid: Fix GCC build error
[mirror_edk2.git] / UefiCpuPkg / Application / Cpuid / Cpuid.c
index f82e43f563ad41f2b5af2e132869c99a8457bb3d..366c3ca2050402531f9e06bd936b01999ed45edf 100644 (file)
@@ -21,7 +21,7 @@
 /// Macro used to display the value of a bit field in a register returned by CPUID.\r
 ///\r
 #define PRINT_BIT_FIELD(Variable, FieldName) \\r
-  Print (L"%5a%42a: %x\n", #Variable, #FieldName, ##Variable.Bits.##FieldName);\r
+  Print (L"%5a%42a: %x\n", #Variable, #FieldName, Variable.Bits.FieldName);\r
 \r
 ///\r
 /// Macro used to display the value of a register returned by CPUID.\r