summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/Application/Cpuid/Cpuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'UefiCpuPkg/Application/Cpuid/Cpuid.c')
-rw-r--r--UefiCpuPkg/Application/Cpuid/Cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Application/Cpuid/Cpuid.c b/UefiCpuPkg/Application/Cpuid/Cpuid.c
index f82e43f56..366c3ca20 100644
--- a/UefiCpuPkg/Application/Cpuid/Cpuid.c
+++ b/UefiCpuPkg/Application/Cpuid/Cpuid.c
@@ -21,7 +21,7 @@
/// Macro used to display the value of a bit field in a register returned by CPUID.
///
#define PRINT_BIT_FIELD(Variable, FieldName) \
- Print (L"%5a%42a: %x\n", #Variable, #FieldName, ##Variable.Bits.##FieldName);
+ Print (L"%5a%42a: %x\n", #Variable, #FieldName, Variable.Bits.FieldName);
///
/// Macro used to display the value of a register returned by CPUID.