mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:45:09 +00:00
Process: Fix siginfo for code CLD_STOPPED
si_code, si_status where swapped
This commit is contained in:
parent
9e51e295cf
commit
aae3f7b914
1 changed files with 2 additions and 2 deletions
|
@ -2444,8 +2444,8 @@ KResultOr<siginfo_t> Process::do_waitid(idtype_t idtype, int id, int options)
|
|||
siginfo.si_signo = SIGCHLD;
|
||||
siginfo.si_pid = waitee_process->pid();
|
||||
siginfo.si_uid = waitee_process->uid();
|
||||
siginfo.si_status = CLD_STOPPED;
|
||||
siginfo.si_code = waitee_thread->m_stop_signal;
|
||||
siginfo.si_code = CLD_STOPPED;
|
||||
siginfo.si_status = waitee_thread->m_stop_signal;
|
||||
return siginfo;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue