diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-05-21 20:19:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-05-21 20:19:33 +0000 |
commit | 138aa38dead219cc0687187780040a9a20ba3dec (patch) | |
tree | 620f8780e4f7bde3fc7e87762312d42982f20127 /cpukit/posix/src/sigaddset.c | |
parent | 2004-05-21 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-138aa38dead219cc0687187780040a9a20ba3dec.tar.bz2 |
2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 628/rtems
* posix/src/killinfo.c, posix/src/pthreadkill.c, posix/src/ptimer1.c,
posix/src/sigaction.c, posix/src/sigaddset.c, posix/src/sigsuspend.c:
Signal set of 0 is supposed to return EINVAL. In addition
timer_create needed to return an error if the clock was not
CLOCK_REALTIME.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/sigaddset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/sigaddset.c b/cpukit/posix/src/sigaddset.c index 7f738771b0..5ac0fe0f17 100644 --- a/cpukit/posix/src/sigaddset.c +++ b/cpukit/posix/src/sigaddset.c @@ -32,7 +32,7 @@ int sigaddset( rtems_set_errno_and_return_minus_one( EINVAL ); if ( !signo ) - return 0; + rtems_set_errno_and_return_minus_one( EINVAL ); if ( !is_valid_signo(signo) ) rtems_set_errno_and_return_minus_one( EINVAL ); |