summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-03-26 18:02:40 +0000
committergad <gad@FreeBSD.org>2004-03-26 18:02:40 +0000
commitc68ce6b3696e6f22c32578c1b4f5a5e02f35edfb (patch)
tree009dba9be281fabffce20366c1620b522e5341bb
parent56527d5cca49cfea392d01a6f3e4c0de322883a7 (diff)
downloadFreeBSD-src-c68ce6b3696e6f22c32578c1b4f5a5e02f35edfb.zip
FreeBSD-src-c68ce6b3696e6f22c32578c1b4f5a5e02f35edfb.tar.gz
Remove the NEED_KMEM support meant for FreeBSD 3.x. This base-system
version isn't going to be committed to that branch... Noticed by: des
-rw-r--r--usr.bin/pkill/pkill.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/pkill/pkill.c b/usr.bin/pkill/pkill.c
index 6318965..c5226fb 100644
--- a/usr.bin/pkill/pkill.c
+++ b/usr.bin/pkill/pkill.c
@@ -69,9 +69,6 @@ __FBSDID("$FreeBSD$");
#define STATUS_ERROR 3
#if defined(__FreeBSD__)
-# if __FreeBSD_version < 300000
-# define NEED_KMEM
-# endif
# if __FreeBSD_version > 502000
# define IS_KERNPROC(xPtr) (xPtr->ki_flag & P_KTHREAD)
# endif
@@ -171,15 +168,10 @@ main(int argc, char **argv)
}
}
-#if defined(NEED_KMEM)
- execf = coref = swapf = NULL;
-#else
- execf = coref = swapf = _PATH_DEVNULL;
-#endif
-
criteria = 0;
debug_opt = 0;
drop_privs = 0;
+ execf = coref = swapf = _PATH_DEVNULL;
while ((ch = getopt(argc, argv, "DG:M:N:P:U:d:fg:lns:t:u:vx")) != -1)
switch (ch) {
OpenPOWER on IntegriCloud