diff options
| author | Russ Cox <rsc@golang.org> | 2009-02-15 13:41:48 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-02-15 13:41:48 -0800 |
| commit | 78a6d68c860b0cef0a089abe93fc43214dfdf2f7 (patch) | |
| tree | 112e334a8f73ecc662777eb83c25f17ac4239a76 /src/runtime | |
| parent | 3b3e63735eb8a00b7cabbbe223a116148a0635dd (diff) | |
| download | go-78a6d68c860b0cef0a089abe93fc43214dfdf2f7.tar.xz | |
build nits
R=r
DELTA=8 (0 added, 6 deleted, 2 changed)
OCL=25045
CL=25045
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/malloc.c b/src/runtime/malloc.c index 2bee176087..0a1ab28041 100644 --- a/src/runtime/malloc.c +++ b/src/runtime/malloc.c @@ -162,9 +162,9 @@ mlookup(void *v, byte **base, uintptr *size, uint32 **ref) *size = n; nobj = (s->npages << PageShift) / (n + RefcountOverhead); if((byte*)s->gcref < p || (byte*)(s->gcref+nobj) > p+(s->npages<<PageShift)) { - printf("odd span state=%d span=%p base=%p sizeclass=%d n=%d size=%d npages=%d\n", + printf("odd span state=%d span=%p base=%p sizeclass=%d n=%D size=%D npages=%D\n", s->state, s, p, s->sizeclass, nobj, n, s->npages); - printf("s->base sizeclass %d v=%p base=%p gcref=%p blocksize=%D nobj=%d size=%D end=%p end=%p\n", + printf("s->base sizeclass %d v=%p base=%p gcref=%p blocksize=%D nobj=%D size=%D end=%p end=%p\n", s->sizeclass, v, p, s->gcref, s->npages<<PageShift, nobj, n, s->gcref + nobj, p+(s->npages<<PageShift)); throw("bad gcref"); |
