mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
proc: separate from sched
This commit is contained in:
@@ -15,7 +15,7 @@ syscallret_t syscall_killthread(context_t *context, int pid, int tid, int signal
|
||||
}
|
||||
|
||||
proc_t *sender = current_thread()->proc;
|
||||
proc_t *target = sched_getprocfrompid(pid);
|
||||
proc_t *target = proc_get_from_pid(pid);
|
||||
if (target == NULL) {
|
||||
ret.errno = ESRCH;
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user