From: David du Colombier <0intro@gmail.com> Date: Thu, 6 Mar 2014 19:56:22 +0000 (+0100) Subject: runtime: fix warnings on Plan 9 X-Git-Tag: go1.3beta1~440 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fb5e1e1fa181f658431ef2c12fa2ccef5f728bdf;p=gostls13.git 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 --- diff --git a/src/pkg/runtime/mgc0.c b/src/pkg/runtime/mgc0.c index 400149c26d..5d386c5c0d 100644 --- a/src/pkg/runtime/mgc0.c +++ b/src/pkg/runtime/mgc0.c @@ -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;