diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-19 08:45:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-19 08:45:53 +0000 |
commit | 92871dd4f5b37aa3ec93309365e4e3bd1048000e (patch) | |
tree | 4c26c56f824af58704981d102aec48268a333905 /usr.bin/systat/vmstat.c | |
parent | 809b3d0ec9d6479ab838a917bb34fa72fb7a924f (diff) |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
Diffstat (limited to 'usr.bin/systat/vmstat.c')
-rw-r--r-- | usr.bin/systat/vmstat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index d2fbeae3b9f..30f6f11264d 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmstat.c,v 1.35 2002/06/18 00:46:48 deraadt Exp $ */ +/* $OpenBSD: vmstat.c,v 1.36 2002/06/19 08:45:52 deraadt Exp $ */ /* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94"; #endif -static char rcsid[] = "$OpenBSD: vmstat.c,v 1.35 2002/06/18 00:46:48 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: vmstat.c,v 1.36 2002/06/19 08:45:52 deraadt Exp $"; #endif /* not lint */ /* @@ -140,16 +140,16 @@ closekre(WINDOW *w) static struct nlist namelist[] = { -#define X_INTRNAMES 0 +#define X_INTRNAMES 0 /* no sysctl */ { "_intrnames" }, -#define X_EINTRNAMES 1 +#define X_EINTRNAMES 1 /* no sysctl */ { "_eintrnames" }, -#define X_INTRCNT 2 +#define X_INTRCNT 2 /* no sysctl */ { "_intrcnt" }, -#define X_EINTRCNT 3 +#define X_EINTRCNT 3 /* no sysctl */ { "_eintrcnt" }, #if defined(__i386__) -#define X_INTRHAND 4 +#define X_INTRHAND 4 /* no sysctl */ { "_intrhand" }, #endif { "" }, |