aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 6d40c7c466..01f1a50670 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -857,7 +857,7 @@ type schedt struct {
sysmonwait atomic.Bool
sysmonnote note
- // safepointFn should be called on each P at the next GC
+ // safePointFn should be called on each P at the next GC
// safepoint if p.runSafePointFn is set.
safePointFn func(*p)
safePointWait int32