Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Expand upper limit of processor number for cpuid
Browse files Browse the repository at this point in the history
  • Loading branch information
sikarash committed Oct 4, 2015
1 parent f260c6f commit f597fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpuid.c
Original file line number Diff line number Diff line change
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 > 5119) {
usage();
exit(127);
}
Expand Down

0 comments on commit f597fe3

Please sign in to comment.