Fixed a printf format error that was fatal on alphas. Adding WFORMAT=0
to the Makefile didn't affect this bug because WFORMAT only controls higher- level format checking (not the -Wformat that is implicit in -Wall). Fixed a nearby printf format error that was benign and 3 nearby style bugs.
This commit is contained in:
parent
69b9f14163
commit
c1f903a031
@ -487,8 +487,7 @@ vsize(KINFO *k, VARENT *ve)
|
||||
VAR *v;
|
||||
|
||||
v = ve->var;
|
||||
(void)printf("%*d", v->width,
|
||||
(k->ki_p->ki_size/1024));
|
||||
(void)printf("%*lu", v->width, (u_long)(k->ki_p->ki_size / 1024));
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user