Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Expand upper limit of processor number for cpuid
  • Loading branch information
sikarash committed Oct 4, 2015
1 parent 34f8aa5 commit a6d8563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpuid.c
Expand Up @@ -184,7 +184,7 @@ int main(int argc, char *argv[])
exit(127);
} else if (argc == 2) {
cpu = strtoul(argv[1], &endptr, 0);
if (*endptr || cpu > 255) {
if (*endptr || cpu > 65535) {
usage();
exit(127);
}
Expand Down

0 comments on commit a6d8563

Please sign in to comment.