summaryrefslogtreecommitdiffstats
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-24 09:56:44 +0000
committerpeter <peter@FreeBSD.org>2001-08-24 09:56:44 +0000
commitc05ab921afc21de46a12e5b7ada2f10d8e240df2 (patch)
tree982109c69a7c700d8333ffe06b1c62f94c8bd6da /bin/ps/keyword.c
parentde99d815fde713bcb78bf383bd0ea89afdae4631 (diff)
downloadFreeBSD-src-c05ab921afc21de46a12e5b7ada2f10d8e240df2.zip
FreeBSD-src-c05ab921afc21de46a12e5b7ada2f10d8e240df2.tar.gz
On today's kernels masking with ~KERNBASE is turning out to be less
than useful. It still hits at least 8 digits. Adjust for reality. This is still not satisfactory for the alpha if you add "-O paddr".
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index a3d0066..63693d7 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -125,11 +125,11 @@ VAR var[] = {
NULL, USER, rvar, NULL, 4, ROFF(ru_nswap), LONG, "ld"},
{"nvcsw", "NVCSW",
NULL, USER, rvar, NULL, 5, ROFF(ru_nvcsw), LONG, "ld"},
- {"nwchan", "WCHAN", NULL, 0, kvar, NULL, 6, KOFF(ki_wchan), KPTR, "lx"},
+ {"nwchan", "WCHAN", NULL, 0, kvar, NULL, 8, KOFF(ki_wchan), KPTR, "lx"},
{"oublk", "OUBLK",
NULL, USER, rvar, NULL, 4, ROFF(ru_oublock), LONG, "ld"},
{"oublock", "", "oublk"},
- {"paddr", "PADDR", NULL, 0, kvar, NULL, 6, KOFF(ki_paddr), KPTR, "lx"},
+ {"paddr", "PADDR", NULL, 0, kvar, NULL, 8, KOFF(ki_paddr), KPTR, "lx"},
{"pagein", "PAGEIN", NULL, USER, pagein, NULL, 6},
{"pcpu", "", "%cpu"},
{"pending", "", "sig"},
OpenPOWER on IntegriCloud