diff options
author | Richard Braun <rbraun@sceen.net> | 2017-02-13 23:05:25 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-02-13 23:05:25 +0100 |
commit | 30e1c42921229143c7db7f80b9677c3fb24f36b1 (patch) | |
tree | 4b371cb3a0e3ebba35b096e9cf857341f236203b /kern/thread.c | |
parent | a26658f7ef6d92a03720fbf4d84a8e414e24dbe0 (diff) |
kern/thread: minor change about scheduling class string representation
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/thread.c b/kern/thread.c index f22ff760..49adf828 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -2341,9 +2341,9 @@ thread_state_to_chr(const struct thread *thread) } const char * -thread_schedclass_to_str(const struct thread *thread) +thread_sched_class_to_str(unsigned char sched_policy) { - switch (thread_sched_class(thread)) { + switch (sched_policy) { case THREAD_SCHED_CLASS_RT: return "rt"; case THREAD_SCHED_CLASS_FS: |