]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in error message
authorMark Zavislak <zavislak@google.com>
Mon, 21 Apr 2014 15:55:23 +0000 (08:55 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 21 Apr 2014 15:55:23 +0000 (08:55 -0700)
LGTM=robert.hencke, iant
R=golang-codereviews, robert.hencke, iant
CC=golang-codereviews
https://golang.org/cl/89760043

src/pkg/runtime/malloc.goc

index 6fee8932df3755b0fd0eff111e1e4ffddf0dc851..6371689a9c47500a19cb5fe923a9b86bc5657e6b 100644 (file)
@@ -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