aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.goc
diff options
context:
space:
mode:
authorMark Zavislak <zavislak@google.com>2014-04-21 08:55:23 -0700
committerIan Lance Taylor <iant@golang.org>2014-04-21 08:55:23 -0700
commit800d8adf35ebf340c8bc4769318531717aaab88e (patch)
treeb27bbd608f9562e837656a66b9ea16333766f87c /src/pkg/runtime/malloc.goc
parent1332eb5b6210e16601ff8d049885e41a6e16908d (diff)
downloadgo-800d8adf35ebf340c8bc4769318531717aaab88e.tar.xz
runtime: fix typo in error message
LGTM=robert.hencke, iant R=golang-codereviews, robert.hencke, iant CC=golang-codereviews https://golang.org/cl/89760043
Diffstat (limited to 'src/pkg/runtime/malloc.goc')
-rw-r--r--src/pkg/runtime/malloc.goc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc.goc b/src/pkg/runtime/malloc.goc
index 6fee8932df..6371689a9c 100644
--- a/src/pkg/runtime/malloc.goc
+++ b/src/pkg/runtime/malloc.goc
@@ -684,7 +684,7 @@ runtime·persistentalloc(uintptr size, uintptr align, uint64 *stat)
if(align != 0) {
if(align&(align-1))
- runtime·throw("persistentalloc: align is now a power of 2");
+ runtime·throw("persistentalloc: align is not a power of 2");
if(align > PageSize)
runtime·throw("persistentalloc: align is too large");
} else