diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-08 23:55:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-08 23:55:24 +0000 |
commit | 8b53dee67bd3a371b993e4fddd962dcaf7d5212f (patch) | |
tree | 703a1e66b1d76c9fd0a391ceb73142bdac410c7c /cpukit | |
parent | 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-8b53dee67bd3a371b993e4fddd962dcaf7d5212f.tar.bz2 |
2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/src/objectinitializeinformation.c: Reverse sense of conditional
and improve comment. Comment was right but brief, conditional was
backwards.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/src/objectinitializeinformation.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 518c158b1d..471b2b82ef 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,11 @@ 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com> + * score/src/objectinitializeinformation.c: Reverse sense of conditional + and improve comment. Comment was right but brief, conditional was + backwards. + +2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com> + PR 1759/cpukit * posix/src/cancel.c, posix/src/pthreaddetach.c, posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c, diff --git a/cpukit/score/src/objectinitializeinformation.c b/cpukit/score/src/objectinitializeinformation.c index c8ef33e466..b59b64ae97 100644 --- a/cpukit/score/src/objectinitializeinformation.c +++ b/cpukit/score/src/objectinitializeinformation.c @@ -1,7 +1,7 @@ /* * Object Handler Initialization per Object Class * - * COPYRIGHT (c) 1989-2010. + * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -134,7 +134,7 @@ void _Objects_Initialize_information( */ name_length = maximum_name_length; - #if !defined(RTEMS_POSIX_API) + #if defined(RTEMS_POSIX_API) if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) ) name_length = (name_length + OBJECTS_NAME_ALIGNMENT) & ~(OBJECTS_NAME_ALIGNMENT-1); |