aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/export_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go
index 0d17ddfe30..380bf9cb13 100644
--- a/src/runtime/export_test.go
+++ b/src/runtime/export_test.go
@@ -1414,7 +1414,7 @@ func NewGCCPULimiter(now int64, gomaxprocs int32) *GCCPULimiter {
// do 64-bit atomics on it, and if it gets stack-allocated
// on a 32-bit architecture, it may get allocated unaligned
// space.
- l := escape(new(GCCPULimiter))
+ l := Escape(new(GCCPULimiter))
l.limiter.resetCapacity(now, gomaxprocs)
return l
}