diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-04-21 03:14:51 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-04-21 03:14:51 +0000 |
commit | 033c62c08a82d5b5e1c6b2be7fc485ac88c4e2b1 (patch) | |
tree | e35d99dcf6abe31534786a1f52a547a8f633be66 /usr.bin/pkill/pkill.c | |
parent | 13e70c8beb8d31b173fe1954c9aa55ecc77e72ca (diff) |
Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag.
This lets new binaries work (at least w/o the -H option) with old kernels.
ok pirofti@ deraadt@
Diffstat (limited to 'usr.bin/pkill/pkill.c')
-rw-r--r-- | usr.bin/pkill/pkill.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/pkill/pkill.c b/usr.bin/pkill/pkill.c index 8b09439992f..e5e0d93ec57 100644 --- a/usr.bin/pkill/pkill.c +++ b/usr.bin/pkill/pkill.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkill.c,v 1.26 2012/04/12 14:59:19 pirofti Exp $ */ +/* $OpenBSD: pkill.c,v 1.27 2012/04/21 03:14:50 guenther Exp $ */ /* $NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $ */ /*- @@ -257,8 +257,6 @@ main(int argc, char **argv) if ((kp->p_flag & (P_SYSTEM | P_THREAD)) != 0 || kp->p_pid == mypid) continue; - if (kp->p_tid != -1) - continue; if (matchargs) { if ((pargv = kvm_getargv(kd, kp, 0)) == NULL) |