summaryrefslogtreecommitdiff
path: root/src/runtime/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.c')
-rw-r--r--src/runtime/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.c b/src/runtime/proc.c
index 6a741f882..62efd4569 100644
--- a/src/runtime/proc.c
+++ b/src/runtime/proc.c
@@ -78,7 +78,7 @@ schedinit(void)
byte *p;
sched.mmax = 1;
- p = getenv("gomaxprocs");
+ p = getenv("GOMAXPROCS");
if(p != nil && (n = atoi(p)) != 0)
sched.mmax = n;
sched.mcount = 1;