Commit 800d8adf authored by Mark Zavislak's avatar Mark Zavislak Committed by Ian Lance Taylor

runtime: fix typo in error message

LGTM=robert.hencke, iant
R=golang-codereviews, robert.hencke, iant
CC=golang-codereviews
https://golang.org/cl/89760043
parent 1332eb5b
...@@ -684,7 +684,7 @@ runtime·persistentalloc(uintptr size, uintptr align, uint64 *stat) ...@@ -684,7 +684,7 @@ runtime·persistentalloc(uintptr size, uintptr align, uint64 *stat)
if(align != 0) { if(align != 0) {
if(align&(align-1)) 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) if(align > PageSize)
runtime·throw("persistentalloc: align is too large"); runtime·throw("persistentalloc: align is too large");
} else } else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment