From 800d8adf35ebf340c8bc4769318531717aaab88e Mon Sep 17 00:00:00 2001 From: Mark Zavislak Date: Mon, 21 Apr 2014 08:55:23 -0700 Subject: [PATCH] runtime: fix typo in error message LGTM=robert.hencke, iant R=golang-codereviews, robert.hencke, iant CC=golang-codereviews https://golang.org/cl/89760043 --- src/pkg/runtime/malloc.goc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0