projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59eed33
)
cpuid.c32: print unsigned values
syslinux-4.00-pre41
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 11 May 2010 20:00:17 +0000
(13:00 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 11 May 2010 20:00:17 +0000
(13:00 -0700)
Print unsigned values; formatting was wrong for unsigned values
anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/modules/cpuid.c
patch
|
blob
|
history
diff --git
a/com32/modules/cpuid.c
b/com32/modules/cpuid.c
index
62a756e
..
266fd07
100644
(file)
--- a/
com32/modules/cpuid.c
+++ b/
com32/modules/cpuid.c
@@
-20,7
+20,7
@@
static void dump_reg(const char *name, uint32_t val)
{
int i;
- printf("%-3s : %10
d
0x%08x ", name, val, val);
+ printf("%-3s : %10
u
0x%08x ", name, val, val);
for (i = 3; i >= 0; i--) {
uint8_t c = val >> (i*8);