diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index e1db59eba9d8..b9218d84a700 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -873,6 +873,8 @@ linux_common_wait(struct thread *td, int pid, int *status, else if (WIFSTOPPED(tmpstat)) tmpstat = (tmpstat & 0xffff00ff) | (BSD_TO_LINUX_SIGNAL(WSTOPSIG(tmpstat)) << 8); + else if (WIFCONTINUED(tmpstat)) + tmpstat = 0xffff; error = copyout(&tmpstat, status, sizeof(int)); }