summaryrefslogtreecommitdiff
path: root/kern/task.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-01-31 21:20:49 +0100
committerRichard Braun <rbraun@sceen.net>2017-01-31 21:20:49 +0100
commit73573e460ab7fd85e0858c5e188c67e10fc2dc56 (patch)
treed63ae57b0ba6fbb7e22a6a7c39a5b70841300240 /kern/task.c
parent1d0f9ae0fb69c388c35597301660a12cd2a7c27a (diff)
kern/thread: make priority a generic thread property
Diffstat (limited to 'kern/task.c')
-rw-r--r--kern/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/task.c b/kern/task.c
index d2003017..e5b34d16 100644
--- a/kern/task.c
+++ b/kern/task.c
@@ -139,7 +139,7 @@ task_info(struct task *task)
list_for_each_entry(&task->threads, thread, task_node) {
printk("task: %s: %p %c %.2s:%02hu %s\n", task->name, thread,
thread_state_to_chr(thread), thread_schedclass_to_str(thread),
- thread_schedprio(thread), thread->name);
+ thread_priority(thread), thread->name);
}
spinlock_unlock(&task->lock);