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.
This commit is contained in:
Joel Sherrill
2011-03-08 23:55:24 +00:00
parent e1fc243323
commit 8b53dee67b
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
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

View File

@@ -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);