diff options
| author | Russ Cox <rsc@golang.org> | 2008-09-17 13:49:23 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2008-09-17 13:49:23 -0700 |
| commit | 9350ef4eea88caf6b184c9455db140c7cb8082db (patch) | |
| tree | 3ffedc8f443bc3d02505140c254c839cf5ce73da /src/runtime/proc.c | |
| parent | a456463891697503409f3afb204f1baca3cb8b0e (diff) | |
| download | go-9350ef4eea88caf6b184c9455db140c7cb8082db.tar.xz | |
add network listening & tests
R=r,presotto
OCL=15410
CL=15440
Diffstat (limited to 'src/runtime/proc.c')
| -rw-r--r-- | src/runtime/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.c b/src/runtime/proc.c index 6a741f8822..62efd45691 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; |
