aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/extern.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/extern.go')
-rw-r--r--src/runtime/extern.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/extern.go b/src/runtime/extern.go
index 7141cd8a7a..cd90390b34 100644
--- a/src/runtime/extern.go
+++ b/src/runtime/extern.go
@@ -45,7 +45,7 @@ a comma-separated list of name=val pairs. Supported names are:
This should only be used as a temporary workaround to diagnose buggy code.
The real fix is to not store integers in pointer-typed locations.
- memprofrate: setting memprofrate=X will update the value of runtime.MemProfileRate.
+ memprofilerate: setting memprofilerate=X will update the value of runtime.MemProfileRate.
When set to 0 memory profiling is disabled. Refer to the description of
MemProfileRate for the default value.