mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-15 07:29:17 +08:00
[lwp]修正kill(pid < -1)时的返回值错误
This commit is contained in:
parent
a63b97e316
commit
6e3c9acd39
@ -1000,6 +1000,7 @@ sysret_t sys_kill(int pid, int signo)
|
||||
switch (kret)
|
||||
{
|
||||
case -RT_ENOENT:
|
||||
case -ECHILD:
|
||||
sysret = -ESRCH;
|
||||
break;
|
||||
case -RT_EINVAL:
|
||||
|
Loading…
x
Reference in New Issue
Block a user