aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-31 08:56:12 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-03-31 08:56:12 -0700
commit5135785ccf38c0d480ff5b880d686a699996c722 (patch)
tree6d99e963e6759a7610ff26e7238e88888018119b
parent46e5fa129fec5e115852468732338d9335cd4cdb (diff)
downloadcontrib-5135785ccf38c0d480ff5b880d686a699996c722.tar.gz
contrib-5135785ccf38c0d480ff5b880d686a699996c722.tar.xz
contrib-5135785ccf38c0d480ff5b880d686a699996c722.zip
cpuid.c32: output the correct register names
Output the correct register names in cpuid.c32; fix copy-and-paste error. Reported-by: Andrew Jones <drjones@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--com32/modules/cpuid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/modules/cpuid.c b/com32/modules/cpuid.c
index 4758fbad..62a756e5 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;
}