mirror of
https://github.com/golang/go
synced 2024-11-23 08:30:05 -07:00
runtime: fix warnings on Plan 9
warning: pkg/runtime/mgc0.c:2352 format mismatch p UVLONG, arg 2 warning: pkg/runtime/mgc0.c:2352 format mismatch p UVLONG, arg 3 LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/71950044
This commit is contained in:
parent
a1695d2ea3
commit
fb5e1e1fa1
@ -2349,7 +2349,7 @@ gc(struct gc_args *args)
|
||||
heap1 = mstats.heap_alloc;
|
||||
updatememstats(&stats);
|
||||
if(heap1 != mstats.heap_alloc) {
|
||||
runtime·printf("runtime: mstats skew: heap=%p/%p\n", heap1, mstats.heap_alloc);
|
||||
runtime·printf("runtime: mstats skew: heap=%D/%D\n", heap1, mstats.heap_alloc);
|
||||
runtime·throw("mstats skew");
|
||||
}
|
||||
obj = mstats.nmalloc - mstats.nfree;
|
||||
|
Loading…
Reference in New Issue
Block a user