]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typos
authorhopehook <hopehook.com@gmail.com>
Sat, 30 Jul 2022 14:11:32 +0000 (22:11 +0800)
committerGopher Robot <gobot@golang.org>
Sat, 30 Jul 2022 16:04:50 +0000 (16:04 +0000)
Change-Id: I30c125be6cb321aa03ea827bd11c3169087e3d4c
Reviewed-on: https://go-review.googlesource.com/c/go/+/420314
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>

src/runtime/chan.go
src/runtime/testdata/testprog/vdso.go

index 993af7063b98d75dc917e7d6475ad63620462b7e..ca516ad9e8b8489086a879d8285c3d5c2d30860f 100644 (file)
@@ -780,7 +780,7 @@ func (q *waitq) dequeue() *sudog {
                } else {
                        y.prev = nil
                        q.first = y
-                       sgp.next = nil // mark as removed (see dequeueSudog)
+                       sgp.next = nil // mark as removed (see dequeueSudoG)
                }
 
                // if a goroutine was put on this queue because of a
index d2a300d8f2004c9e6f6a2f7f66777664f32863a7..b18bc74a064e23de9d380c7bb90d778c991be79e 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// Invoke signal hander in the VDSO context (see issue 32912).
+// Invoke signal handler in the VDSO context (see issue 32912).
 
 package main