]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: correct variable name in comment
authorKoichi Shiraishi <zchee.io@gmail.com>
Sat, 24 Jul 2021 18:00:04 +0000 (03:00 +0900)
committerAustin Clements <austin@google.com>
Mon, 26 Jul 2021 23:46:13 +0000 (23:46 +0000)
Change-Id: Ic35ec2ed320c3c266afbeec8bdea1dedac4725e4
Reviewed-on: https://go-review.googlesource.com/c/go/+/336892
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Austin Clements <austin@google.com>

src/runtime/race.go

index cc8c5db1bd2dca7d8e2aea9d5634d210667c76d8..ce6b5b54681533bee45a198fccd9ad884b9aa642 100644 (file)
@@ -343,7 +343,7 @@ func racereadrangepc1(addr, size, pc uintptr)
 func racewriterangepc1(addr, size, pc uintptr)
 func racecallbackthunk(uintptr)
 
-// racecall allows calling an arbitrary function f from C race runtime
+// racecall allows calling an arbitrary function fn from C race runtime
 // with up to 4 uintptr arguments.
 func racecall(fn *byte, arg0, arg1, arg2, arg3 uintptr)