From 8ff28c6ae2cc071291ba63e62c934a1798b318e5 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 20 Feb 2002 22:27:09 +0000 Subject: Oops, used wrong error value for unimplemented syscalls. --- sys/kern/kern_proc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index b2fcae7..255b102 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -200,32 +200,32 @@ thread_get(struct proc *p) * STUB KSE syscalls *********************/ +/* struct thread_wakeup_args { struct thread_mailbox *tmbx; }; */ int thread_wakeup(struct thread *td, struct thread_wakeup_args *uap) -/* struct thread_wakeup_args { struct thread_mailbox *tmbx; }; */ { - return(EINVAL); + return(ENOSYS); } int kse_exit(struct thread *td, struct kse_exit_args *uap) { - return(EINVAL); + return(ENOSYS); } int 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) { - return(EINVAL); + return(ENOSYS); } @@ -237,7 +237,7 @@ kse_new(struct thread *td, struct kse_new_args *uap) }; */ { - return (EINVAL); + return (ENOSYS); } /* -- cgit v1.1