]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in error message
authorchangwang ma <machangwang.cn@gmail.com>
Tue, 22 Oct 2024 18:04:20 +0000 (02:04 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 23 Oct 2024 02:33:18 +0000 (02:33 +0000)
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>
src/runtime/malloc.go

index 83f7f64f6f0db8e75346b85a293df6bbc7c9f90e..02c096a8593ec8c62187812dc970d5d7b507d599 100644 (file)
@@ -454,7 +454,7 @@ func mallocinit() {
        }
 
        if minTagBits > taggedPointerBits {
-               throw("taggedPointerbits too small")
+               throw("taggedPointerBits too small")
        }
 
        // Initialize the heap.