summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-02-09 16:30:16 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-02-09 16:30:16 +0000
commitdb57c70a5ba095725106b724f727ce74eef7e681 (patch)
treef8a43f8ccb9814c0d0a87fe0c006c312c7b28e59 /bin
parentf75ef22a665d717cd87426f34ad913232ae03ae6 (diff)
downloadsrc-test2-db57c70a5ba095725106b724f727ce74eef7e681.tar.gz
src-test2-db57c70a5ba095725106b724f727ce74eef7e681.zip
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/pkill/pkill.c2
-rw-r--r--bin/ps/ps.12
2 files changed, 2 insertions, 2 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,
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index e00d313ddd78..3d7c7382cab6 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -318,7 +318,7 @@ the include file
.Bl -column P_SINGLE_BOUNDARY 0x40000000
.It Dv "P_ADVLOCK" Ta No "0x00001" Ta "Process may hold a POSIX advisory lock"
.It Dv "P_CONTROLT" Ta No "0x00002" Ta "Has a controlling terminal"
-.It Dv "P_KTHREAD" Ta No "0x00004" Ta "Kernel thread"
+.It Dv "P_KPROC" Ta No "0x00004" Ta "Kernel process"
.It Dv "P_FOLLOWFORK" Ta No "0x00008" Ta "Attach debugger to new children"
.It Dv "P_PPWAIT" Ta No "0x00010" Ta "Parent is waiting for child to exec/exit"
.It Dv "P_PROFIL" Ta No "0x00020" Ta "Has started profiling"