From a9dab4dcd900e9eba1e5a0afdc5028752760b1d9 Mon Sep 17 00:00:00 2001 From: Seiichi Ikarashi Date: Mon, 5 Oct 2015 00:18:51 +0900 Subject: [PATCH] Expand the upper limit of wrmsr -p option --- wrmsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrmsr.c b/wrmsr.c index 8a601b9..55238eb 100644 --- a/wrmsr.c +++ b/wrmsr.c @@ -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); }