summaryrefslogtreecommitdiffstats
path: root/bin/ps/print.c
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2001-06-16 21:39:29 +0000
committertegge <tegge@FreeBSD.org>2001-06-16 21:39:29 +0000
commit6008da3fbddb216d3541cd3009f46682bc24b6af (patch)
treea1f3a9ad90e9bda0cf1407235571c63b624aebb0 /bin/ps/print.c
parent4a0664e88e403e97d641f7ad4fd6dab71095bd0b (diff)
downloadFreeBSD-src-6008da3fbddb216d3541cd3009f46682bc24b6af.zip
FreeBSD-src-6008da3fbddb216d3541cd3009f46682bc24b6af.tar.gz
Check for the PS_SINTR flag in the right field of struct kinfo_proc
(ki_sflag).
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index f73c3f0..62ef392 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -176,7 +176,7 @@ state(k, ve)
v = ve->var;
flag = k->ki_p->ki_flag;
- sflag = k->ki_p->ki_flag;
+ sflag = k->ki_p->ki_sflag;
cp = buf;
switch (k->ki_p->ki_stat) {
OpenPOWER on IntegriCloud