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){