Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Expand the upper limit of processor number
Increase the maximum processor number specified by -p option from 255 to 65535.
Nowadays there exist boxes that have over 256 processors.

Signed-off-by: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
  • Loading branch information
sikarash committed Sep 16, 2015
1 parent d9a630d commit 3bfa9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmsr.c
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 > 65535) {
usage();
exit(127);
}
Expand Down

0 comments on commit 3bfa9f7

Please sign in to comment.