summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-06 05:23:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-06 05:23:35 +0000
commitdd76cae0fee1fe7cf3701099c25987bbd8cba805 (patch)
tree31b80ab6e7e46e9b3c7019eeeef2ac92b952b39d /usr.sbin
parent7c65cb083dd598aff0f35602409f6d8f0deee196 (diff)
minor tweaks
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pstat/pstat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index c860e585070..ef0a254c57c 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.40 2002/12/12 04:17:14 deraadt Exp $ */
+/* $OpenBSD: pstat.c,v 1.41 2003/01/06 05:23:34 deraadt Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#else
-static char *rcsid = "$OpenBSD: pstat.c,v 1.40 2002/12/12 04:17:14 deraadt Exp $";
+static char *rcsid = "$OpenBSD: pstat.c,v 1.41 2003/01/06 05:23:34 deraadt Exp $";
#endif
#endif /* not lint */
@@ -92,10 +92,10 @@ struct nlist nl[] = {
{"_tty_count"},
#define V_NUMV 3 /* sysctl */
{ "_numvnodes" },
-#define V_MOUNTLIST 4 /* no sysctl */
- { "_mountlist" },
-#define TTY_TTYLIST 5 /* sysctl */
+#define TTY_TTYLIST 4 /* sysctl */
{"_ttylist"},
+#define V_MOUNTLIST 5 /* no sysctl */
+ { "_mountlist" },
{ "" }
};
@@ -104,7 +104,7 @@ int totalflag;
int kflag;
char *nlistf = NULL;
char *memf = NULL;
-kvm_t *kd = 0;
+kvm_t *kd = NULL;
#define SVAR(var) __STRING(var) /* to force expansion */
#define KGET(idx, var) \