From ae5991695c8efcb8aed3a58bbb6b93b0ffd3c60b Mon Sep 17 00:00:00 2001 From: David Symonds Date: Mon, 22 Jul 2013 12:42:42 +1000 Subject: [PATCH] runtime: add a missing newline in a debug printf. Trivial, but annoying while debugging this code. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11656043 --- src/pkg/runtime/proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index 18ddce80184..9530b9984af 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -1310,7 +1310,7 @@ goexit0(G *gp) m->curg = nil; m->lockedg = nil; if(m->locked & ~LockExternal) { - runtime·printf("invalid m->locked = %d", m->locked); + runtime·printf("invalid m->locked = %d\n", m->locked); runtime·throw("internal lockOSThread error"); } m->locked = 0;