diff options
| author | Thomas Moestl <tmm@FreeBSD.org> | 2002-11-01 23:26:20 +0000 |
|---|---|---|
| committer | Thomas Moestl <tmm@FreeBSD.org> | 2002-11-01 23:26:20 +0000 |
| commit | 297cf923e7c4ff81a193f6e6356b731d51ca237f (patch) | |
| tree | 48d7bcfeed1ef6c7ff1a75bb33cc75687d48bb0e | |
| parent | 3a114c5de972880d245fd0ab06b43bde5651b5d5 (diff) | |
Notes
| -rw-r--r-- | bin/ps/extern.h | 3 | ||||
| -rw-r--r-- | bin/ps/nlist.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h index 76c4cfb7e0f2..ea603a455ce5 100644 --- a/bin/ps/extern.h +++ b/bin/ps/extern.h @@ -40,7 +40,8 @@ struct var; struct varent; extern fixpt_t ccpu; -extern int cflag, eval, fscale, mempages, nlistread, rawcpu; +extern int cflag, eval, fscale, nlistread, rawcpu; +extern unsigned long mempages; extern time_t now; extern int sumrusage, termwidth, totwidth; extern VARENT *vhead; diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c index 30de18edfd42..02cd1c544588 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 |
