]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix the inconsistency of kq parameter of addWakeupEvent
authorAndy Pan <i@andypan.me>
Sat, 13 Apr 2024 04:51:37 +0000 (12:51 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 24 May 2024 17:15:46 +0000 (17:15 +0000)
Change-Id: I4f1668ed9085cf19c3eff17c237601a91d0660db
Reviewed-on: https://go-review.googlesource.com/c/go/+/587876
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>

src/runtime/netpoll_kqueue_event.go

index 641965641492a662bcacfc8aa898c0a5c63f76a1..d5f783e607e8469a45a399965e7daa65b34196f3 100644 (file)
@@ -12,7 +12,7 @@ package runtime
 // get printed somehow and they search for it.
 const kqIdent = 0xee1eb9f4
 
-func addWakeupEvent(_ int32) {
+func addWakeupEvent(kq int32) {
        ev := keventt{
                ident:  kqIdent,
                filter: _EVFILT_USER,