aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/process.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 14:29:28 +0200
committerMarvin Borner2020-05-07 14:29:28 +0200
commit130121dd61a9adf70d1800ceb03007275bfb589d (patch)
tree5b00d9046c5f5a5678479b0ddf1bdbe72bc74158 /src/kernel/tasks/process.c
parent31767b532e69c5a63df0106fa08e137e3106a449 (diff)
Added wait syscall
Diffstat (limited to 'src/kernel/tasks/process.c')
-rw-r--r--src/kernel/tasks/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c
index efacc1f..d2a75fd 100644
--- a/src/kernel/tasks/process.c
+++ b/src/kernel/tasks/process.c
@@ -84,7 +84,7 @@ u32 process_spawn(struct process *process)
return process->pid;
}
-int process_wait_gid(u32 gid, int *status)
+u32 process_wait_gid(u32 gid, u32 *status)
{
struct process *i = root;
@@ -101,7 +101,7 @@ int process_wait_gid(u32 gid, int *status)
return WAIT_OKAY;
}
-int process_wait_pid(u32 pid, int *status)
+u32 process_wait_pid(u32 pid, u32 *status)
{
struct process *i = current_proc->next;