summaryrefslogtreecommitdiff
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2003-02-27 02:05:19 +0000
committerJulian Elischer <julian@FreeBSD.org>2003-02-27 02:05:19 +0000
commitac2e4153278a07773d0ca8f9f5f5c1b41a3696b8 (patch)
tree91973dfb2c47deb06ea09f1614aa486db1bd95dd /sys/kern/kern_proc.c
parent7d33ae96778cdd85ab3a3e03bde4ec9da699bf30 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r--sys/kern/kern_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 00f61866deb7..c444cb036164 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -681,7 +681,7 @@ fill_kinfo_proc(p, kp)
mtx_unlock_spin(&sched_lock);
return;
}
- if (!(p->p_flag & P_KSES)) {
+ if (!(p->p_flag & P_THREADED)) {
if (td->td_wmesg != NULL) {
strlcpy(kp->ki_wmesg, td->td_wmesg,
sizeof(kp->ki_wmesg));
@@ -715,7 +715,7 @@ fill_kinfo_proc(p, kp)
kp->ki_swtime = p->p_swtime;
kp->ki_pid = p->p_pid;
/* vvv XXXKSE */
- if (!(p->p_flag & P_KSES)) {
+ if (!(p->p_flag & P_THREADED)) {
kg = td->td_ksegrp;
ke = td->td_kse;
KASSERT((ke != NULL), ("fill_kinfo_proc: Null KSE"));