1
0
mirror of https://github.com/golang/go synced 2024-11-23 08:00:05 -07:00

runtime: fix debug output

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/7312101
This commit is contained in:
Dmitriy Vyukov 2013-02-15 17:04:02 +04:00
parent d844001601
commit a9824f178d

View File

@ -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)