print %MEM correctly

This commit is contained in:
deraadt 1994-11-25 07:01:11 +00:00
parent 15cf365b55
commit a583ccb069

View File

@ -109,6 +109,8 @@ donlist()
eval = rval = 1;
}
mempages -= tmp;
mempages /= getpagesize();
#else
if (kread(X_ECMX, mempages)) {
warnx("ecmx: %s", kvm_geterr(kd));