diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index 7e0f816..ab25e77 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -653,9 +653,9 @@ priorityr(KINFO *k, VARENT *ve) struct priority *lpri; char str[8]; unsigned class, level; - + v = ve->var; - lpri = (struct priority *) ((char *)k + v->off); + lpri = &k->ki_p->ki_pri; class = lpri->pri_class; level = lpri->pri_level; switch (class) { |