From 5135785ccf38c0d480ff5b880d686a699996c722 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 31 Mar 2010 08:56:12 -0700 Subject: [PATCH] cpuid.c32: output the correct register names Output the correct register names in cpuid.c32; fix copy-and-paste error. Reported-by: Andrew Jones Signed-off-by: H. Peter Anvin --- com32/modules/cpuid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com32/modules/cpuid.c b/com32/modules/cpuid.c index 4758fba..62a756e 100644 --- a/com32/modules/cpuid.c +++ b/com32/modules/cpuid.c @@ -52,9 +52,9 @@ int main(int argc, char *argv[]) cpuid_count(leaf, counter, &eax, &ebx, &ecx, &edx); dump_reg("eax", eax); - dump_reg("eax", ebx); - dump_reg("eax", ecx); - dump_reg("eax", edx); + dump_reg("ebx", ebx); + dump_reg("ecx", ecx); + dump_reg("edx", edx); return 0; } -- 2.7.4