summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5c2aa3d)
SCCS-vsn: usr.sbin/pstat/pstat.c 4.28
-static char *sccsid = "@(#)pstat.c 4.27 (Berkeley) %G%";
+static char *sccsid = "@(#)pstat.c 4.28 (Berkeley) %G%";
#endif
/*
* Print system stuff
#endif
/*
* Print system stuff
tused = 0;
for (xp = xtext; xp < &xtext[ntext]; xp++)
if (xp->x_iptr!=NULL) {
tused = 0;
for (xp = xtext; xp < &xtext[ntext]; xp++)
if (xp->x_iptr!=NULL) {
- tused += ctod(xp->x_size);
+ tused += ctod(clrnd(xp->x_size));
- tused += ctod(ctopt(xp->x_size));
+ tused += ctod(clrnd(ctopt(xp->x_size)));
}
used = tused;
waste = 0;
}
used = tused;
waste = 0;