From f260c6f364d8711f571e2c9e90f14746f7f52e9c Mon Sep 17 00:00:00 2001 From: Seiichi Ikarashi Date: Mon, 5 Oct 2015 00:20:17 +0900 Subject: [PATCH] Expand the upper limit of rdmsr -p option --- rdmsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }