From 73573e460ab7fd85e0858c5e188c67e10fc2dc56 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Tue, 31 Jan 2017 21:20:49 +0100 Subject: kern/thread: make priority a generic thread property --- kern/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/task.c') 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); -- cgit v1.2.3