diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-24 16:35:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-24 16:35:36 +0000 |
commit | 8d0fdc3ca0b3097d084522ed7531b5b5285d976c (patch) | |
tree | db93450ce4ea016a55299019f8c55e6c016decf5 /cpukit | |
parent | Add getdents stub. (diff) | |
download | rtems-8d0fdc3ca0b3097d084522ed7531b5b5285d976c.tar.bz2 |
2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/psignal.h: Fix typo in converting method
from macro to static inline.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/psignal.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 53b09ea7fb..1144669d01 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com> + + * posix/include/rtems/posix/psignal.h: Fix typo in converting method + from macro to static inline. + 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> * posix/Makefile.am, posix/include/rtems/posix/psignal.h: Add stubs for diff --git a/cpukit/posix/include/rtems/posix/psignal.h b/cpukit/posix/include/rtems/posix/psignal.h index 2d5a450e91..e02cd8b4d6 100644 --- a/cpukit/posix/include/rtems/posix/psignal.h +++ b/cpukit/posix/include/rtems/posix/psignal.h @@ -29,7 +29,7 @@ static inline sigset_t signo_to_mask( uint32_t sig ) { - return (1 << sig) - 1; + return 1 << (sig - 1); } #define is_valid_signo( _sig ) \ |