Fix `-o rtprio' so it prints the correct value.
PR: bin/59417 Submitted by: Jan Willem Knopper This fix by: bde (in the audit-trail of the PR)
This commit is contained in:
parent
13ea8563af
commit
3998d22271
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user