~kris/9p

9hist

78a6f0419995f0ea761a0d50e9398b1fc9db8fbf — David du Colombier 27 years ago 49b6dfd
Plan 9 from Bell Labs 1999-02-11
2 files changed, 1 insertions(+), 3 deletions(-)

M port/alloc.c
M port/devmntstats.c
M port/alloc.c => port/alloc.c +1 -1
@@ 254,7 254,7 @@ poolalloc(Pool *p, long size)
		}

		iunlock(&p->l);
		print("%s arena too large: size %d cursize %lud arenasize %lud maxsize %lud\n",
		print("%s arena too large: size %ld cursize %lud arenasize %lud maxsize %lud\n",
			 p->name, size, p->cursize, p->arenasize, p->maxsize);
		return nil;
	}

M port/devmntstats.c => port/devmntstats.c +0 -2
@@ 45,7 45,6 @@ _mntstats(int type, Chan *c, uvlong start, ulong bytes)
	uint h;
	Mntstats **l, *m;
	uvlong elapsed;
	ulong x;

	elapsed = fastticks(nil) - start;
	type -= Tnop;


@@ 82,7 81,6 @@ _mntstats(int type, Chan *c, uvlong start, ulong bytes)
		m->hi[type] = elapsed;
	m->tot[type] += elapsed;
	m->n[type]++;
	x = elapsed;
	m->bytes[type] += bytes;

	if(bytes >= 8*1024){