sig_mqnotempty(): Test for a valid signal number inverted. From eero.nurkkala
This commit is contained in:
parent
1b39aff8b4
commit
44a3397283
@ -7340,4 +7340,7 @@
|
||||
Simona (2014-5-14).
|
||||
* arch/arm/src/sam34/sam_gpio.c: Fix some SAM4E compiler errors when
|
||||
CONFIG_DEBUG_GPIO is enabled (2014-5-15).
|
||||
* sched/sig_mqnotempty.c: Test for a valid signal number is inverted; this
|
||||
function could not have been working correctly??? From eero.nurkkala
|
||||
(2014-5-20).
|
||||
|
||||
|
@ -103,7 +103,7 @@ int sig_mqnotempty(int pid, int signo, void *sival_ptr)
|
||||
|
||||
/* Verify that we can perform the signalling operation */
|
||||
|
||||
if (GOOD_SIGNO(signo))
|
||||
if (!GOOD_SIGNO(signo))
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user