Skip to content
Snippets Groups Projects
Commit 44a33972 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

sig_mqnotempty(): Test for a valid signal number inverted. From eero.nurkkala

parent 1b39aff8
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment