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

Commit

Permalink
Expand the upper limit of rdmsr -p option
Browse files Browse the repository at this point in the history
  • Loading branch information
sikarash committed Oct 4, 2015
1 parent a9dab4d commit f260c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int main(int argc, char *argv[])
break;
case 'p':
arg = strtoul(optarg, &endarg, 0);
if (*endarg || arg > 255) {
if (*endarg || arg > 5119) {
usage();
exit(127);
}
Expand Down

0 comments on commit f260c6f

Please sign in to comment.