Change the "rtprio" format so it prints an informative string for
the PRI_ITHD case (instead of just printing the digit '1'). Submitted by: Cyrille Lefevre
This commit is contained in:
parent
b3f695b45c
commit
70548f642a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131215
@ -668,6 +668,9 @@ priorityr(KINFO *k, VARENT *ve)
|
||||
class = lpri->pri_class;
|
||||
level = lpri->pri_level;
|
||||
switch (class) {
|
||||
case PRI_ITHD:
|
||||
snprintf(str, sizeof(str), "intr:%u", level);
|
||||
break;
|
||||
case PRI_REALTIME:
|
||||
snprintf(str, sizeof(str), "real:%u", level);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user