diff options
Diffstat (limited to 'sys/posix4')
-rw-r--r-- | sys/posix4/ksched.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/posix4/ksched.c b/sys/posix4/ksched.c index 950cbb2..6ef2940 100644 --- a/sys/posix4/ksched.c +++ b/sys/posix4/ksched.c @@ -228,6 +228,10 @@ int ksched_setscheduler(register_t *ret, struct ksched *ksched, mtx_unlock_spin(&sched_lock); } break; + + default: + e = EINVAL; + break; } return e; |