From f597fe356134f8737022220e347b974b97345549 Mon Sep 17 00:00:00 2001 From: Seiichi Ikarashi Date: Mon, 5 Oct 2015 00:20:53 +0900 Subject: [PATCH] Expand upper limit of processor number for cpuid --- cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuid.c b/cpuid.c index 3cc7cb9..334f3f8 100644 --- a/cpuid.c +++ b/cpuid.c @@ -184,7 +184,7 @@ int main(int argc, char *argv[]) exit(127); } else if (argc == 2) { cpu = strtoul(argv[1], &endptr, 0); - if (*endptr || cpu > 255) { + if (*endptr || cpu > 5119) { usage(); exit(127); }