aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2014-03-06 20:56:22 +0100
committerDavid du Colombier <0intro@gmail.com>2014-03-06 20:56:22 +0100
commitfb5e1e1fa181f658431ef2c12fa2ccef5f728bdf (patch)
treeef54b5f892f7dbfee1f8dd070d0af5ee3b0bf31d /src/pkg/runtime
parenta1695d2ea321e9bed50d90732a8cef5e71cd7a89 (diff)
downloadgo-fb5e1e1fa181f658431ef2c12fa2ccef5f728bdf.tar.xz
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
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/mgc0.c2
1 files changed, 1 insertions, 1 deletions
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;