mirror of https://github.com/golang/go.git
runtime: fix typo in error message
LGTM=robert.hencke, iant R=golang-codereviews, robert.hencke, iant CC=golang-codereviews https://golang.org/cl/89760043
This commit is contained in:
parent
1332eb5b62
commit
800d8adf35
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue