diff --git a/rdmsr.c b/rdmsr.c index d3e3c22..f0de61b 100644 --- a/rdmsr.c +++ b/rdmsr.c @@ -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); }