mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 20:43:43 +08:00
[errno code][-RT_EINVAL] fix that use RT_EINVAL without -
This commit is contained in:

committed by
Man, Jianting (Meco)

parent
e4e88b2f3e
commit
dfddd79b24
@@ -455,7 +455,7 @@ int lwp_sigprocmask(int how, const lwp_sigset_t *sigset, lwp_sigset_t *oset)
|
||||
newset = *sigset;
|
||||
break;
|
||||
default:
|
||||
ret = RT_EINVAL;
|
||||
ret = -RT_EINVAL;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user