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:
a52a8e0
)
cpuid: Typo between argv & argc
author
Erwan Velu
<erwanaliasr1@gmail.com>
Wed, 12 May 2010 19:18:09 +0000
(21:18 +0200)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 12 May 2010 21:57:03 +0000
(14:57 -0700)
argv isn't a number ;)
com32/modules/cpuid.c
patch
|
blob
|
history
diff --git
a/com32/modules/cpuid.c
b/com32/modules/cpuid.c
index
62a756e
..
d5bb7de
100644
(file)
--- a/
com32/modules/cpuid.c
+++ b/
com32/modules/cpuid.c
@@
-42,7
+42,7
@@
int main(int argc, char *argv[])
}
leaf = strtoul(argv[1], NULL, 0);
- counter = (arg
v
> 2) ? strtoul(argv[2], NULL, 0) : 0;
+ counter = (arg
c
> 2) ? strtoul(argv[2], NULL, 0) : 0;
if (!cpu_has_eflag(EFLAGS_ID)) {
printf("The CPUID instruction is not supported\n");