diff options
author | Richard Braun <rbraun@sceen.net> | 2017-03-04 15:57:16 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-03-04 15:57:16 +0100 |
commit | cee25b55290865734d92a6b6262fe79887288b1a (patch) | |
tree | d172825914b03c0d66a10c0dea4723301acb5573 /kern/thread.c | |
parent | 5dd82d84251bb021eaedaa9fb43103f5bf52d5b3 (diff) |
kern/thread: fix thread_sched_class_to_str argument name
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 741344ba..8d7b3a75 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -2350,9 +2350,9 @@ thread_state_to_chr(const struct thread *thread) } const char * -thread_sched_class_to_str(unsigned char sched_policy) +thread_sched_class_to_str(unsigned char sched_class) { - switch (sched_policy) { + switch (sched_class) { case THREAD_SCHED_CLASS_RT: return "rt"; case THREAD_SCHED_CLASS_FS: |