summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2000-06-16 03:51:00 +0000
committersimonb <simonb@NetBSD.org>2000-06-16 03:51:00 +0000
commit643cb3c341bb006de4946341ffec8e012df0739e (patch)
tree7530d75e8fdb6c36d45a9b813410ff6d5ba6e258 /bin
parent9424f6fe54dc9315f6ba711358d7479aec4996ed (diff)
Don't check namelist when choosing to use the sysctl interface.
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 9f7a1b13f99..690ecbc4d59 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ps.c,v 1.40 2000/06/08 13:30:40 simonb Exp $ */
+/* $NetBSD: ps.c,v 1.41 2000/06/16 03:51:00 simonb Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: ps.c,v 1.40 2000/06/08 13:30:40 simonb Exp $");
+__RCSID("$NetBSD: ps.c,v 1.41 2000/06/16 03:51:00 simonb Exp $");
#endif
#endif /* not lint */
@@ -340,7 +340,7 @@ main(argc, argv)
}
#endif
- if (nlistf == NULL && memf == NULL && swapf == NULL) {
+ if (memf == NULL && swapf == NULL) {
kd = kvm_openfiles(nlistf, memf, swapf, KVM_NO_FILES, errbuf);
donlist_sysctl();
} else