aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2022-10-26 13:38:07 -0700
committerGopher Robot <gobot@golang.org>2022-10-26 22:20:16 +0000
commited24b37fd2b0c242525eb2203d90627c4be1b149 (patch)
treebf5eb371a9db92c52df68ec576728d85ea07c993 /src/runtime
parent1c72ee7f13831b215b8744f6b35bc4fd53aba5e2 (diff)
downloadgo-ed24b37fd2b0c242525eb2203d90627c4be1b149.tar.xz
runtime: add missing closing curly brace in runtime corruption error message
(Fixing the most important part of this bug.) Updates #56426 Change-Id: If657ae47a5fe7dacc31d2c487e53e9f2dd5d03bf Reviewed-on: https://go-review.googlesource.com/c/go/+/445695 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Auto-Submit: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/os_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os_linux.go b/src/runtime/os_linux.go
index d6be99f4c3..9f1d405fa8 100644
--- a/src/runtime/os_linux.go
+++ b/src/runtime/os_linux.go
@@ -880,7 +880,7 @@ func runPerThreadSyscall() {
}
if errno != 0 || r1 != args.r1 || r2 != args.r2 {
print("trap:", args.trap, ", a123456=[", args.a1, ",", args.a2, ",", args.a3, ",", args.a4, ",", args.a5, ",", args.a6, "]\n")
- print("results: got {r1=", r1, ",r2=", r2, ",errno=", errno, "}, want {r1=", args.r1, ",r2=", args.r2, ",errno=0\n")
+ print("results: got {r1=", r1, ",r2=", r2, ",errno=", errno, "}, want {r1=", args.r1, ",r2=", args.r2, ",errno=0}\n")
fatal("AllThreadsSyscall6 results differ between threads; runtime corrupted")
}