summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-02-15 13:41:48 -0800
committerRuss Cox <rsc@golang.org>2009-02-15 13:41:48 -0800
commitdbaaba236fc383e49e95029934d335949f363682 (patch)
tree112e334a8f73ecc662777eb83c25f17ac4239a76
parent975b981f8addc32a25344ca3f642709e13171f83 (diff)
downloadgolang-dbaaba236fc383e49e95029934d335949f363682.tar.gz
build nits
R=r DELTA=8 (0 added, 6 deleted, 2 changed) OCL=25045 CL=25045
-rwxr-xr-xsrc/run.bash6
-rw-r--r--src/runtime/malloc.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/src/run.bash b/src/run.bash
index 90c9a7af1..64a617061 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -52,12 +52,6 @@ time make
make smoketest
) || exit $?
-# (xcd ../usr/gri/gosrc
-# make clean
-# time make
-# # make test
-# ) || exit $?
-
(xcd ../doc/progs
time ./run
) || exit $?
diff --git a/src/runtime/malloc.c b/src/runtime/malloc.c
index 2bee17608..0a1ab2804 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");