diff options
author | julian <julian@FreeBSD.org> | 2002-02-20 22:27:09 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-02-20 22:27:09 +0000 |
commit | 8ff28c6ae2cc071291ba63e62c934a1798b318e5 (patch) | |
tree | f57953c438d76d066b8f15191a39cc2ff8249385 /sys | |
parent | 279912070165445cb8fb47004734a6fbe941c387 (diff) | |
download | FreeBSD-src-8ff28c6ae2cc071291ba63e62c934a1798b318e5.zip FreeBSD-src-8ff28c6ae2cc071291ba63e62c934a1798b318e5.tar.gz |
Oops, used wrong error value for unimplemented syscalls.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_proc.c | 12 |
1 files changed, 6 insertions, 6 deletions
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); } /* |