Oops, used wrong error value for unimplemented syscalls.

This commit is contained in:
Julian Elischer 2002-02-20 22:27:09 +00:00
parent 98f1484cd9
commit fd21c2b51c

View File

@ -200,32 +200,32 @@ thread_get(struct proc *p)
* STUB KSE syscalls * STUB KSE syscalls
*********************/ *********************/
/* struct thread_wakeup_args { struct thread_mailbox *tmbx; }; */
int int
thread_wakeup(struct thread *td, struct thread_wakeup_args *uap) thread_wakeup(struct thread *td, struct thread_wakeup_args *uap)
/* struct thread_wakeup_args { struct thread_mailbox *tmbx; }; */
{ {
return(EINVAL); return(ENOSYS);
} }
int int
kse_exit(struct thread *td, struct kse_exit_args *uap) kse_exit(struct thread *td, struct kse_exit_args *uap)
{ {
return(EINVAL); return(ENOSYS);
} }
int int
kse_yield(struct thread *td, struct kse_yield_args *uap) kse_yield(struct thread *td, struct kse_yield_args *uap)
{ {
return(EINVAL); return(ENOSYS);
} }
int kse_wakeup(struct thread *td, struct kse_wakeup_args *uap) int kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
{ {
return(EINVAL); return(ENOSYS);
} }
@ -237,7 +237,7 @@ kse_new(struct thread *td, struct kse_new_args *uap)
}; */ }; */
{ {
return (EINVAL); return (ENOSYS);
} }
/* /*