diff options
author | dg <dg@FreeBSD.org> | 1994-11-24 13:13:55 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-11-24 13:13:55 +0000 |
commit | bd0c7b7320ccfe859f708990106af7ee38e0c59b (patch) | |
tree | f963c0eacf5804ad2dda5d22442ad84d7c0551e1 /bin/ps | |
parent | aa075eccb70e55dc5a301f6d6692726750400561 (diff) | |
download | FreeBSD-src-bd0c7b7320ccfe859f708990106af7ee38e0c59b.zip FreeBSD-src-bd0c7b7320ccfe859f708990106af7ee38e0c59b.tar.gz |
Re-apply an old patchkit days fix of mine for mempages:
* PATCHES MAGIC LEVEL PATCH THAT GOT US HERE
* -------------------- ----- ----------------------
* CURRENT PATCH LEVEL: 1 00051
* -------------------- ----- ----------------------
*
* 14 Aug 92 David Greenman Fixed NEWVM mempages calculation
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/nlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c index e7b60cb..293a627 100644 --- a/bin/ps/nlist.c +++ b/bin/ps/nlist.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: nlist.c,v 1.3 1994/10/02 08:19:11 davidg Exp $ + * $Id: nlist.c,v 1.4 1994/10/02 08:33:29 davidg Exp $ */ #ifndef lint @@ -111,6 +111,7 @@ donlist() eval = rval = 1; } mempages -= tmp; + mempages /= PAGE_SIZE; #else if (kread(X_ECMX, mempages)) { warnx("ecmx: %s", kvm_geterr(kd)); |