[syslinux:master] cpuid.c32: output the correct register names

syslinux-bot for H. Peter Anvin hpa at zytor.com
Wed Mar 31 08:57:34 PDT 2010


Commit-ID:  5135785ccf38c0d480ff5b880d686a699996c722
Gitweb:     http://syslinux.zytor.com/commit/5135785ccf38c0d480ff5b880d686a699996c722
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 31 Mar 2010 08:56:12 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 31 Mar 2010 08:56:12 -0700

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 at redhat.com>
Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 com32/modules/cpuid.c |    6 +++---
 1 files 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;
 }



More information about the Syslinux-commits mailing list