aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.goc
diff options
context:
space:
mode:
authorAlbert Strasheim <fullung@gmail.com>2011-05-10 13:47:56 -0400
committerRuss Cox <rsc@golang.org>2011-05-10 13:47:56 -0400
commit69a91663d25df694ec3a85d32b77c37444f1dac6 (patch)
treec0e2449ff12f9ee8abf79429ff7e040f559d431d /src/pkg/runtime/malloc.goc
parent4c1e1b815b6a1b295914cea0936118b77e7776b1 (diff)
downloadgo-69a91663d25df694ec3a85d32b77c37444f1dac6.tar.xz
runtime: add newline to "finalizer already set" error
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4523047
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 1f2d6da404..c55be97729 100644
--- a/src/pkg/runtime/malloc.goc
+++ b/src/pkg/runtime/malloc.goc
@@ -487,7 +487,7 @@ func SetFinalizer(obj Eface, finalizer Eface) {
nret = (nret + sizeof(void*)-1) & ~(sizeof(void*)-1);
if(runtime·getfinalizer(obj.data, 0)) {
- runtime·printf("runtime.SetFinalizer: finalizer already set");
+ runtime·printf("runtime.SetFinalizer: finalizer already set\n");
goto throw;
}
}