diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-10 15:04:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-10 15:04:01 +0000 |
commit | eb7cddd3cf59bd78b989ba3701f335db2b5de450 (patch) | |
tree | ea9d6607c6985cd9d7b8d42c7b9a9d75b7a240e7 /cpukit | |
parent | 2003-01-10 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-eb7cddd3cf59bd78b989ba3701f335db2b5de450.tar.bz2 |
2003-01-10 Joel Sherrill <joel@OARcorp.com>
* src/objectmp.c: Corrected use of name parameter to reflect that it
is actually the name not a pointer to the name.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/src/objectmp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 5f9b4c795a..e5b472fb02 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,8 @@ +2003-01-10 Joel Sherrill <joel@OARcorp.com> + + * src/objectmp.c: Corrected use of name parameter to reflect that it + is actually the name not a pointer to the name. + 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> Makefile.am: Don't create $ARCH. diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c index bbd2f18cc5..f0595b12fd 100644 --- a/cpukit/score/src/objectmp.c +++ b/cpukit/score/src/objectmp.c @@ -163,7 +163,7 @@ Objects_Name_to_id_errors _Objects_MP_Global_name_search ( Chain_Control *the_chain; Chain_Node *the_node; Objects_MP_Control *the_object; - unsigned32 name_to_use = *(unsigned32 *)the_name; /* XXX variable */ + unsigned32 name_to_use = the_name; /* XXX only fixed length names */ if ( nodes_to_search > _Objects_Maximum_nodes ) return OBJECTS_INVALID_NODE; |