summaryrefslogtreecommitdiff
path: root/kern/task.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-01-29 21:33:56 +0100
committerRichard Braun <rbraun@sceen.net>2017-01-29 21:33:56 +0100
commitfd4c1bc361429fa17cfeb953ec8323bd62053601 (patch)
tree5e55ea4284c0ca8956aca00344c6f8f2c4d6d943 /kern/task.c
parente2533f68e2a1f7495929a1d799ddd39c714984d8 (diff)
kern/thread: implement thread_setscheduler
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 47efeecd..d2003017 100644
--- a/kern/task.c
+++ b/kern/task.c
@@ -137,7 +137,7 @@ task_info(struct task *task)
printk("task: name: %s, threads:\n", task->name);
list_for_each_entry(&task->threads, thread, task_node) {
- printk("task: %s: %p %c %.2s:%02u %s\n", task->name, thread,
+ 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);
}