aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
authorchangwang ma <machangwang.cn@gmail.com>2024-10-23 02:04:20 +0800
committerGopher Robot <gobot@golang.org>2024-10-23 02:33:18 +0000
commit34e96356b7d6a5d4e1f69a92585707cfe853cc0d (patch)
treea3efc42451d5b82e933c6ff15e79fef23f68bcd4 /src/runtime/malloc.go
parentbdc6dbbc6465bc617b778e6e3a1ae49daa35ea69 (diff)
downloadgo-34e96356b7d6a5d4e1f69a92585707cfe853cc0d.tar.xz
runtime: fix typo in error message
Change-Id: I27bf98e84545746d90948dd06c4a7bd70782c49d Reviewed-on: https://go-review.googlesource.com/c/go/+/621895 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/malloc.go')
-rw-r--r--src/runtime/malloc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go
index 83f7f64f6f..02c096a859 100644
--- a/src/runtime/malloc.go
+++ b/src/runtime/malloc.go
@@ -454,7 +454,7 @@ func mallocinit() {
}
if minTagBits > taggedPointerBits {
- throw("taggedPointerbits too small")
+ throw("taggedPointerBits too small")
}
// Initialize the heap.