oga's tools
Revision | 1551c1eb25eccc6ceeba92a9d8c8298cc9d03829 (tree) |
---|---|
Time | 2021-02-11 07:37:32 |
Author | hyperoga <hyperoga@gmai...> |
Commiter | hyperoga |
some fix
@@ -7,6 +7,7 @@ | ||
7 | 7 | */ |
8 | 8 | |
9 | 9 | #include <stdio.h> |
10 | +#include <string.h> | |
10 | 11 | |
11 | 12 | char CPUID[] = { 0x0f, 0xa2 }; /* 意味なし */ |
12 | 13 | unsigned int gEAX,gEBX,gECX,gEDX; |
@@ -55,7 +56,7 @@ int main(int a, char *b[]) | ||
55 | 56 | "movl %ecx,gECX\n\t" /* %ecx => ECX */ |
56 | 57 | "movl %edx,gEDX"); /* %edx => EDX */ |
57 | 58 | #endif |
58 | - printf("\ncpuid Ver 1.03 by oga.\n",gEAX); | |
59 | + printf("\ncpuid Ver 1.03 by oga.\n"); | |
59 | 60 | if (vf) printf(" CPUID command max param = %d\n",gEAX); |
60 | 61 | printf(" Vendor ID : "); |
61 | 62 | DispRegChr(gEBX); /* VendorID1 */ |