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 wrmsr -p option
Browse files Browse the repository at this point in the history
  • Loading branch information
sikarash committed Oct 4, 2015
1 parent d9a630d commit a9dab4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrmsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,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 a9dab4d

Please sign in to comment.