mirror of
https://github.com/golang/go
synced 2024-11-23 02:00:03 -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:
parent
01cc462bfc
commit
ae5991695c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user