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

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
This commit is contained in:
David Symonds 2013-07-22 12:42:42 +10:00
parent 01cc462bfc
commit ae5991695c

View File

@ -1310,7 +1310,7 @@ goexit0(G *gp)
m->curg = nil; m->curg = nil;
m->lockedg = nil; m->lockedg = nil;
if(m->locked & ~LockExternal) { 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"); runtime·throw("internal lockOSThread error");
} }
m->locked = 0; m->locked = 0;