mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
proc: separate from sched
This commit is contained in:
+1
-1
@@ -356,7 +356,7 @@ int tty_ioctl(tty_t *tty, unsigned long req, void *arg, int *result, cred_t *cre
|
||||
if (e)
|
||||
return e;
|
||||
|
||||
proc_t *proc = sched_getprocfrompid(pgrp);
|
||||
proc_t *proc = proc_get_from_pid(pgrp);
|
||||
if (proc == NULL)
|
||||
return ESRCH;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user