summaryrefslogtreecommitdiffstats
path: root/bin/ps/nlist.c
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-11-01 23:26:20 +0000
committertmm <tmm@FreeBSD.org>2002-11-01 23:26:20 +0000
commita383c7b134a05d63d6c2f69c7b934e3313c25b5d (patch)
tree48d7bcfeed1ef6c7ff1a75bb33cc75687d48bb0e /bin/ps/nlist.c
parent8aff713c1403f9198ff6c9ac9d1d371635af74fb (diff)
downloadFreeBSD-src-a383c7b134a05d63d6c2f69c7b934e3313c25b5d.zip
FreeBSD-src-a383c7b134a05d63d6c2f69c7b934e3313c25b5d.tar.gz
The hw.availpages sysctl has an unsigned long value now, fix the retrieval
to match that.
Diffstat (limited to 'bin/ps/nlist.c')
-rw-r--r--bin/ps/nlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c
index 30de18e..02cd1c5 100644
--- a/bin/ps/nlist.c
+++ b/bin/ps/nlist.c
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
fixpt_t ccpu; /* kernel _ccpu variable */
int nlistread; /* if nlist already read. */
-int mempages; /* number of pages of phys. memory */
+unsigned long mempages; /* number of pages of phys. memory */
int fscale; /* kernel _fscale variable */
int
OpenPOWER on IntegriCloud