aboutsummaryrefslogtreecommitdiff
path: root/bin/pkill/pkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkill/pkill.c')
-rw-r--r--bin/pkill/pkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkill/pkill.c b/bin/pkill/pkill.c
index 8c814ce4b0f7..abdc4502d36c 100644
--- a/bin/pkill/pkill.c
+++ b/bin/pkill/pkill.c
@@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$");
/* Ignore system-processes (if '-S' flag is not specified) and myself. */
#define PSKIP(kp) ((kp)->ki_pid == mypid || \
- (!kthreads && ((kp)->ki_flag & P_KTHREAD) != 0))
+ (!kthreads && ((kp)->ki_flag & P_KPROC) != 0))
enum listtype {
LT_GENERIC,