From 0d018b49e33b1383dc0ae5cc968e800dffeeaf7d Mon Sep 17 00:00:00 2001 From: cui fliter Date: Sat, 18 Nov 2023 13:51:35 +0800 Subject: all: fix field names Change-Id: I3ad7a50707486ebdbbd676b3581df6e3ed0fd3a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/543476 Auto-Submit: Dmitri Shuralyov TryBot-Result: Gopher Robot Reviewed-by: Keith Randall Reviewed-by: Keith Randall Reviewed-by: Dmitri Shuralyov Run-TryBot: shuang cui --- src/runtime/runtime2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/runtime2.go') 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 -- cgit v1.3