aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-02-15 17:04:02 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-02-15 17:04:02 +0400
commita9824f178da9c636a7c4110c74cdcf0a297173ac (patch)
tree8a5573b3f6b5fe1df5d97acffdcd2f2d607b3b41 /src/pkg/runtime/stack.c
parentd8440016011147ac62a5e532021f3cceffa77065 (diff)
downloadgo-a9824f178da9c636a7c4110c74cdcf0a297173ac.tar.xz
runtime: fix debug output
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7312101
Diffstat (limited to 'src/pkg/runtime/stack.c')
-rw-r--r--src/pkg/runtime/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/stack.c b/src/pkg/runtime/stack.c
index a299fbf409..ac00e53765 100644
--- a/src/pkg/runtime/stack.c
+++ b/src/pkg/runtime/stack.c
@@ -90,7 +90,7 @@ runtime·stackalloc(uint32 n)
// will be a single size, the minimum (right now, 5k).
if(n == FixedStack || m->mallocing || m->gcing) {
if(n != FixedStack) {
- runtime·printf("stackalloc: in malloc, size=%d want %d", FixedStack, n);
+ runtime·printf("stackalloc: in malloc, size=%d want %d\n", FixedStack, n);
runtime·throw("stackalloc");
}
if(m->stackcachecnt == 0)