Commit 77328b0f authored by Lioncash's avatar Lioncash
Browse files

kernel/svc: Move and correct returned error code for invalid thread priorities...

kernel/svc: Move and correct returned error code for invalid thread priorities in SetThreadPriority()

All priority checks are supposed to occur before checking the validity
of the thread handle, we're also not supposed to return
ERR_NOT_AUTHORIZED here.
parent c7c346a1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment