summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 178e357..2ac2f0b 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -802,7 +802,7 @@ linux_waitpid(struct thread *td, struct linux_waitpid_args *args)
* this is necessary because the test in kern_wait doesnt
* work because we mess with the options here
*/
- if (args->options &~ (WUNTRACED|WNOHANG|WCONTINUED))
+ if (args->options &~ (WUNTRACED|WNOHANG|WCONTINUED|__WCLONE))
return (EINVAL);
options = (args->options & (WNOHANG | WUNTRACED));
OpenPOWER on IntegriCloud