diff options
-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); |