fork: settid: return error code.

Change-Id: I0678c266d8608b6d557b2b1e29e59bd6861314b8
This commit is contained in:
TOIDA,Suguru
2019-08-20 15:03:17 +09:00
committed by Masamichi Takagi
parent e932f2e70c
commit 6ce5c754f3

View File

@ -2237,7 +2237,7 @@ SYSCALL_DECLARE(getppid)
return thread->proc->ppid_parent->pid;
}
static void settid(struct thread *thread, int nr_tids, int *tids)
static int settid(struct thread *thread, int nr_tids, int *tids)
{
int ret;
struct syscall_request request IHK_DMA_ALIGN;
@ -2255,6 +2255,7 @@ static void settid(struct thread *thread, int nr_tids, int *tids)
kprintf("%s: WARNING: do_syscall returns %d\n",
__FUNCTION__, ret);
}
return ret;
}
SYSCALL_DECLARE(gettid)